Browse Source

Save node section state

Josh Engebretson 10 years ago
parent
commit
08681f3df2
1 changed files with 4 additions and 0 deletions
  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() {