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

Fusion Selection Bug #954

Merged
merged 7 commits into from
Feb 27, 2024
Merged

Fusion Selection Bug #954

merged 7 commits into from
Feb 27, 2024

Conversation

HunterBarclay
Copy link
Member

Bug

Users were unable to select joints and occurrences when choosing wheel joints and game pieces.

Cause

API changed the order in which event handlers were assessed and executed, resulting in the InputChangedEventHandler being executed before the SelectionEventHandler. This resulted in the selections being clear via self.reset(), and therefore caused there to be no selection for the SelectionEventHandler.

Fix

Removed the self.reset() calls when a selection is made and instead cleared selections when the add buttons are pressed.

Notes

Also fixed a bug where the preselection cursor didn't work for joints, as well as fixed the preselection cursor so it actually sits on top of where your cursor really is.

@HunterBarclay
Copy link
Member Author

This PR has been user tested and confirmed to work (both the installer and the bug fix).

@HunterBarclay HunterBarclay merged commit fc2dae5 into dev Feb 27, 2024
12 checks passed
@HunterBarclay HunterBarclay deleted the bug/barclah/joint-selection branch February 27, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants