Small update about the preset and selected mesh exported

This commit is contained in:
2024-05-04 17:51:29 +02:00
parent e9858cb55c
commit 85f5f3c931
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class ExportForFange(bpy.types.Operator):
print(f'[Pipeline] Select all mesh inside the collection "{child.name}"')
for ob in child.all_objects:
print(f'\tLook "{ob.name}", his type are "{type(ob.data)}"')
if isinstance(ob.data, bpy.types.Mesh):
if isinstance(ob.data, bpy.types.Mesh) or isinstance(ob.data, bpy.types.Empty):
ob.select_set(True)
# TODO The plugin export only the garden building