small fix
This commit is contained in:
@@ -44,7 +44,7 @@ func load_gltf(file, parent = self, hasCollision = false, trimesh = false):
|
|||||||
return node
|
return node
|
||||||
|
|
||||||
for o in get_all_children(node):
|
for o in get_all_children(node):
|
||||||
if o.name.begins_with("entity_") && not o.name.ends_with("_geometry"):
|
if o.name.begins_with("entity_"):
|
||||||
print("Loading entity ", o.name)
|
print("Loading entity ", o.name)
|
||||||
if loadEntity(o):
|
if loadEntity(o):
|
||||||
entity_count += 1;
|
entity_count += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user