mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-20 13:22:58 +00:00
Fix T68618: OBJ export: error cleaning up (temp) meshes without geometry
Reviewers: mont29 Maniphest Tasks: T68618 Differential Revision: https://developer.blender.org/D5479
This commit is contained in:
@ -386,7 +386,7 @@ def write_file(filepath, objects, depsgraph, scene,
|
||||
|
||||
if not (len(face_index_pairs) + len(edges) + len(me.vertices)): # Make sure there is something to write
|
||||
# clean up
|
||||
bpy.data.meshes.remove(me)
|
||||
ob_for_convert.to_mesh_clear()
|
||||
continue # dont bother with this mesh.
|
||||
|
||||
if EXPORT_NORMALS and face_index_pairs:
|
||||
|
Reference in New Issue
Block a user