Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
adam-urbanczyk committed Jun 12, 2025
commit 99af75fdd71e625ab9b0d8ef234ca6421083e486
2 changes: 1 addition & 1 deletion cadquery/fig.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async def _clear():
self.empty = True

for s in shapes:
if isinstance(s, Shape):
if isinstance(s, ShapeLike):
for a in self.shapes[s]:
self.ren.RemoveActor(a)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_fig.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_fig(fig):
fig.clear()

# clear with an arg
for el in showables:
for el in (s, wp, assy, sk, ctrl_pts):
fig.show(el).clear(el)

# lists of showables
Expand Down