Skip to content

Commit f9851ab

Browse files
committed
Purges all old meshes (during .obj sequences)
1 parent 8602980 commit f9851ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bseq/importer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ def update_obj(scene, depsgraph=None):
359359
# Delete the temporary object with the data
360360
bpy.data.objects.remove(new_tmp_obj, do_unlink=True)
361361

362+
# purge old meshes
363+
bpy.ops.outliner.orphans_purge(do_recursive=True)
364+
362365
apply_transformation(meshio_mesh, obj, depsgraph)
363366

364367
end_time = time.perf_counter()

0 commit comments

Comments
 (0)