Create mesh object for any model with geometry regardless of type + triangle strip winding order bugfix

This commit is contained in:
William Herald Snyder
2022-09-28 14:05:37 -04:00
parent 9bd8479e31
commit aa8f05dd42
2 changed files with 4 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ def extract_models(scene: Scene, materials_map : Dict[str, bpy.types.Material])
new_obj = None
if model.model_type == ModelType.STATIC or model.model_type == ModelType.SKIN or model.model_type == ModelType.SHADOWVOLUME:
if model.geometry:
new_obj = model_to_mesh_object(model, scene, materials_map)