diff options
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r-- | io_scene_obj/export_obj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index d7769035..bb331534 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -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: |