-
Notifications
You must be signed in to change notification settings - Fork 203
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-112601] Selection highlighting in viewport2 via UFE (v1) crash #1169
Comments
I wonder if PR #1050 fixes this? With this I could drop the |
Tested this using the latest 2020.4 release with the 0.10.0 release of Maya USD and was able to reproduce the crash. @eddiehoyle I am wondering that if with the changes in PR#1050 you were able to workaround the the crash? I was not able to reproduce this issue in UFE v2 using Maya 2022. |
Hey @santosd, thanks for taking a look. #1050 didn't end up fixing this for me sadly. My solution was to disable API selection via tools in Maya 2020 and putting this in the "I hope this is fixed in Maya 2022" pile. With that said...
That's great! Unfortunately I don't have access to Maya 2022, and adopting this version on a show is even further away. Do you think it could be possible to have this fixed in UFE v1 for those of us still working with Maya 2020? |
@santosd Can you log this internally? |
Logged internally as MAYA-112601 so that we can take a closer look at this issue. |
Hi @eddiehoyle, thanks for reporting and identifying the cause of the crash, fixed in The more interesting point is that your test code isn't doing what you might expect it to do, and the core source of the problem is the line that creates the scene item directly out of the Python class constructor: If you replace that line with a call that does go into the maya-usd plugin: Hope this helps. Cheers! |
Ahh, this whole time I thought all
I can confirm switching to |
marking this one as closed, based on the conversation above. :) if this is still a problem, feel free to re-open it @eddiehoyle :) |
Describe the bug
Viewport2 does not draw highlights on prims when programmatically selected via UFE (v1) API. If you switch move tools afterwards to translate, rotate, or scale, Maya crashes.
No stack trace, sorry. Internal network restrictions, etc.
This is the line where the crash occurs: UsdTransform3dHandler.cpp#L46
Steps to reproduce
UsdGeomImageable
prim that can be drawn in Viewport2 and attempt to programmatically select it using the UFE (v1) Python API.Repro snippet (untested, manually copied and typed out):
Expected behavior
Maya should draw the selected prim as highlighted, and ideally not crash when changing between move tools.
Specs:
The text was updated successfully, but these errors were encountered: