Explorar o código

Disable creation restriction (Object3d only) in l3d

Jed %!s(int64=4) %!d(string=hai) anos
pai
achega
d1e333f6dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {
-		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