Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Control Panel Bug with 3D GUIs #75

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Fix Control Panel Bug with 3D GUIs #75

merged 1 commit into from
Aug 9, 2023

Conversation

jonahbedouch
Copy link
Contributor

In the current version, engaging with a 3D GUI when there is no GUI attached to the main Control Panel causes the Control Panel to break, since showGenerated checks for the presence of any GUI's, not for GUI's attached to root. As such, the Control Panel updates to feature a custom GUI that doesn't exist, causing the panel to break.

Resolution: Change showGenerated to check for root within guiIdSetFromContainerId.

Copy link
Collaborator

@brentyi brentyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@brentyi brentyi merged commit d3ba8f0 into main Aug 9, 2023
11 checks passed
@brentyi brentyi deleted the jonah/3dGui_fix branch August 9, 2023 02:26
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants