Browse Source

Remove break/unbreak temporary change that is no longer required

Josh Engebretson 10 years ago
parent
commit
f59b5c5c37
1 changed files with 0 additions and 13 deletions
  1. 0 13
      Script/AtomicEditor/ui/frames/inspector/SelectionInspector.ts

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

@@ -497,19 +497,6 @@ class SelectionInspector extends ScriptWidget {
 
 
         if (!ev.removed) {
         if (!ev.removed) {
 
 
-            for (var i in this.sections) {
-
-                var section = this.sections[i];
-
-                if (section.contains(ev.component)) {
-
-                    // this happens on a prefab break/unbreak
-                    // when only temporary is changing
-                    return;
-
-                }
-            }
-
             editType = this.addSerializable(ev.component);
             editType = this.addSerializable(ev.component);
             editType.addNode(ev.node);
             editType.addNode(ev.node);