diff options
Diffstat (limited to 'io_scene_3ds/export_3ds.py')
-rw-r--r-- | io_scene_3ds/export_3ds.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py index 84b7c91a..a81cd11d 100644 --- a/io_scene_3ds/export_3ds.py +++ b/io_scene_3ds/export_3ds.py @@ -1039,8 +1039,9 @@ def save(operator, if ob.type not in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META'}: continue + ob_derived_eval = ob_derived.evaluated_get(depsgraph) try: - data = ob_derived.evaluated_get(depsgraph).to_mesh() + data = ob_derived_eval.to_mesh() except: data = None @@ -1080,6 +1081,8 @@ def save(operator, if f.material_index >= mat_ls_len: f.material_index = 0 + ob_derived_eval.to_mesh_clear() + if free: free_derived_objects(ob) |