mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: make format
This commit is contained in:
parent
a04d0b932f
commit
012a6fc573
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ class OBJECT_OT_simple_exporter(bpy.types.Operator):
|
|||
continue
|
||||
print(f"Exporting mesh with {len(mesh.vertices)} vertices "
|
||||
f"at {object_instance.matrix_world}")
|
||||
|
||||
|
||||
self.clear_mesh_for_object_instance(object_instance)
|
||||
|
||||
return {'FINISHED'}
|
||||
|
|
@ -48,7 +48,7 @@ class OBJECT_OT_simple_exporter(bpy.types.Operator):
|
|||
return object_instance.object.to_mesh()
|
||||
else:
|
||||
return object_instance.object.original.to_mesh()
|
||||
|
||||
|
||||
def clear_mesh_for_object_instance(self, object_instance):
|
||||
if self.apply_modifiers:
|
||||
return object_instance.object.to_mesh_clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue