Skip to content

Commit 82ef800

Browse files
committed
Fix CONVEX_MESH_AND_TRIANGLE_MESH aloc import
1 parent 156fa23 commit 82ef800

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/resource/glacier2obj.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,6 +2421,7 @@ def load_aloc(operator, context, filepath, include_non_collidable_layers):
24212421
objects = []
24222422
if aloc.data_type == PhysicsDataType.CONVEX_MESH_AND_TRIANGLE_MESH:
24232423
log("DEBUG", "Converting Convex Mesh and Triangle Mesh ALOC " + aloc_name + " to blender mesh", "load_aloc")
2424+
objects += load_convex_mesh_objects(aloc, aloc_name, collection, context, include_non_collidable_layers)
24242425
objects += load_triangle_mesh_objects(aloc, aloc_name, collection, context, include_non_collidable_layers)
24252426
elif aloc.data_type == PhysicsDataType.CONVEX_MESH:
24262427
log("DEBUG", "Converting Convex Mesh ALOC " + aloc_name + " to blender mesh", "load_aloc")

0 commit comments

Comments
 (0)