From ba24a4a15c0317ac2fd954f4173b4b79cbdf191e Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期三, 11 十一月 2020 17:06:33 +0800
Subject: [PATCH] 9527 unity 升级
---
Assets/Plugins/QHierarchy/Editor/Scripts/pcomponent/QStaticComponent.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Assets/Plugins/QHierarchy/Editor/Scripts/pcomponent/QStaticComponent.cs b/Assets/Plugins/QHierarchy/Editor/Scripts/pcomponent/QStaticComponent.cs
index db87da1..8ab37d9 100644
--- a/Assets/Plugins/QHierarchy/Editor/Scripts/pcomponent/QStaticComponent.cs
+++ b/Assets/Plugins/QHierarchy/Editor/Scripts/pcomponent/QStaticComponent.cs
@@ -62,7 +62,7 @@
GenericMenu menu = new GenericMenu();
menu.AddItem(new GUIContent("Nothing" ), intStaticFlags == 0, staticChangeHandler, 0);
menu.AddItem(new GUIContent("Everything" ), intStaticFlags == -1, staticChangeHandler, -1);
- menu.AddItem(new GUIContent("Lightmap Static" ), (intStaticFlags & (int)StaticEditorFlags.LightmapStatic) > 0, staticChangeHandler, (int)StaticEditorFlags.LightmapStatic);
+ menu.AddItem(new GUIContent("Lightmap Static" ), (intStaticFlags & (int)StaticEditorFlags.ContributeGI) > 0, staticChangeHandler, (int)StaticEditorFlags.ContributeGI);
menu.AddItem(new GUIContent("Occluder Static" ), (intStaticFlags & (int)StaticEditorFlags.OccluderStatic) > 0, staticChangeHandler, (int)StaticEditorFlags.OccluderStatic);
menu.AddItem(new GUIContent("Batching Static" ), (intStaticFlags & (int)StaticEditorFlags.BatchingStatic) > 0, staticChangeHandler, (int)StaticEditorFlags.BatchingStatic);
menu.AddItem(new GUIContent("Navigation Static" ), (intStaticFlags & (int)StaticEditorFlags.NavigationStatic) > 0, staticChangeHandler, (int)StaticEditorFlags.NavigationStatic);
--
Gitblit v1.8.0