Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
6 changes: 6 additions & 0 deletions cadquery/fig.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,12 @@ def onVisibility(self, event: dict):
for act in actors:
act.SetVisibility(event["visible"])

# synchronize state by hand
for act in self.state.actors:
if act["id"] == event["id"]:
act["visible"] = event["visible"]

self._update_state("actors")
self.view.update()

def onSelection(self, event: list[str]):
Expand Down
Loading