Browse Source

Disable creation restriction (Object3d only) in l3d

Jed 4 years ago
parent
commit
d1e333f6dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hrt/prefab/l3d/Level3D.hx

+ 1 - 1
hrt/prefab/l3d/Level3D.hx

@@ -30,7 +30,7 @@ class Level3D extends hrt.prefab.Library {
 	}
 	}
 
 
 	override function getHideProps() : HideProps {
 	override function getHideProps() : HideProps {
-		return { icon : "cube", name : "Level3D", allowChildren : function(t) return Library.isOfType(t,Object3D) || t == "renderProps", allowParent: _ -> false};
+		return { icon : "cube", name : "Level3D", allowParent: _ -> false};
 	}
 	}
 
 
 	#end
 	#end