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

Bail on proxyDrawOverride user select early if snapping is active #1711

Merged

Conversation

jonjondev
Copy link
Contributor

@jonjondev jonjondev commented Sep 20, 2021

The ProxyDrawOverride::userSelect method can be called when snapping is active. The current implementation will try and update the current selection by building the AL_usdmaya_ProxyShapeSelect command, however this will cause a crash when called with the -cl flag.

Since we do not want to change the selection while snapping, this fix will bail out early in that scenario.

@kxl-adsk kxl-adsk added the al Related to AnimalLogic plugin label Sep 20, 2021
@kxl-adsk kxl-adsk merged commit 9abde11 into Autodesk:dev Sep 20, 2021
@jonjondev jonjondev deleted the J-Mo63/bail-userselect-if-snapping-active branch September 20, 2021 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
al Related to AnimalLogic plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants