Josh Engebretson 10 лет назад
Родитель
Сommit
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() {