-
Notifications
You must be signed in to change notification settings - Fork 12
Fix the Editor/Viewer split panel #97
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
Conversation
The issue was related to how the async loading of the meshes caused the _setEditorControls() to be called twice and apparently this duplicated the signal handlers so when clicking a mesh the signal would fire twice and the link would be selected and immediately unselected as if clicked twice. The simplest solution I found was to make sure _setEditorControls() is only called once using a flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works really well now! Thank you!!
Changed some parts of the logic to handle the split panel.
One of the main changes is to thoroughly check whether the editor panel anchor already exists to not create a third panel down the middle. Also should be much more consistent after refreshing.