Skip to content

Commit

Permalink
Fix 3D gui container edge cases, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jun 1, 2024
1 parent a18b5ad commit d948e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "viser"
version = "0.1.33"
version = "0.1.34"
description = "3D visualization + Python"
readme = "README.md"
license = { text="MIT" }
Expand Down
4 changes: 2 additions & 2 deletions src/viser/_scene_handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,6 @@ def remove(self) -> None:
super().remove()

# Clean up contained GUI elements.
self._gui_api._container_handle_from_id.pop(self._container_id)
for child in self._children.values():
for child in tuple(self._children.values()):
child.remove()
self._gui_api._container_handle_from_id.pop(self._container_id)

0 comments on commit d948e52

Please sign in to comment.