Josh Engebretson пре 10 година
родитељ
комит
08681f3df2
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      Script/AtomicEditor/ui/frames/inspector/SelectionInspector.ts

+ 4 - 0
Script/AtomicEditor/ui/frames/inspector/SelectionInspector.ts

@@ -474,6 +474,10 @@ class SelectionInspector extends ScriptWidget {
             this.refresh();
         }
 
+        // save node section state
+        if (!this.nodes.length && this.nodeSection)
+            SelectionInspector.sectionStates["Node"] = this.nodeSection.value ? true : false;
+
     }
 
     handleSceneEditStateChangesBeginEvent() {