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