Skip to content

Commit 5ad57f7

Browse files
committed
Don't really delete, only hide
1 parent f7f8ac3 commit 5ad57f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compas_blender/artists/robotmodelartist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def redraw(self, timeout: float = 0.0) -> None:
6161
bpy.ops.wm.redraw_timer(type='DRAW_WIN_SWAP', iterations=1, time_limit=timeout)
6262

6363
def clear(self) -> None:
64-
compas_blender.delete_objects(self.collection.objects)
64+
for obj in self.collection.objects:
65+
obj.hide_set(True)
6566

6667
def draw(self) -> None:
6768
self.draw_visual()

0 commit comments

Comments
 (0)