Browse Source

Allow all children types by default on Object3D

trethaller 6 years ago
parent
commit
9f123cb4b5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      hide/prefab/Object3D.hx

+ 1 - 2
hide/prefab/Object3D.hx

@@ -135,8 +135,7 @@ class Object3D extends Prefab {
 		// Check children
 		return {
 			icon : children == null || children.length > 0 ? "folder-open" : "genderless",
-			name : "Group",
-			allowChildren : function(t) return hxd.prefab.Library.isOfType(t,Object3D) || ["settings", "material", "shader"].indexOf(t) >= 0 || name == "settings"
+			name : "Group"
 		};
 	}
 	#end