Przeglądaj źródła

Remove dead code in hrt/prefab/World.hx

clementlandrin 1 rok temu
rodzic
commit
20bdb9e2bc
1 zmienionych plików z 0 dodań i 13 usunięć
  1. 0 13
      hrt/prefab/World.hx

+ 0 - 13
hrt/prefab/World.hx

@@ -87,19 +87,6 @@ class World extends Object3D {
 			#if editor
 			for ( elt in p.flatten() )
 				@:privateAccess editor.makeInteractive(elt);
-			if ( editor != null ) {
-				var curEdit = editor.curEdit;
-				//var contexts = curEdit.rootContext.shared.contexts;
-				//contexts.set(p, context);
-				/*if ( context != null ) {
-					var pobj = context.shared.root3d;
-					var pobj2d = context.shared.root2d;
-					if ( context.local3d != pobj && context.local3d != null )
-						editor.curEdit.rootObjects.push(context.local3d);
-					if ( context.local2d != pobj2d && context.local2d != null )
-						editor.curEdit.rootObjects2D.push(context.local2d);
-				}*/
-			}
 			#end
 		}
 	}