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

MAYA-114130: selecting an instanced prim and then the stage shows incorrect selection hilite in viewport #1868

Conversation

perrauo-adsk
Copy link
Contributor

Sometimes the calls to GetActiveSelectionState and GetLeadSelectionState return instance indices which do not match the current selection, and that causes incorrect drawing. Only call GetActiveSelectionState and GetLeadSelectionState
when _selectionStatus is kPartiallySelected. If the object is fully lead or active then we already have the correct values in instanceInfo.

I have added fixed proposed by William on JIRA and it resolves the issue.

@perrauo-adsk perrauo-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Dec 3, 2021
@kxl-adsk kxl-adsk merged commit eb04883 into dev Dec 3, 2021
@kxl-adsk kxl-adsk deleted the perrauo/MAYA-114130/selecting-an-instanced-prim-and-then-the-stage-shows-incorrect-selection-hilite-in-viewport branch December 3, 2021 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants