-
Notifications
You must be signed in to change notification settings - Fork 201
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-127758] Setting visibility does not consistently route edits #2549
Comments
The session layer can be set as the target for visibility edit routing using the following Python code:
|
@gracekumagai, Wanted to check back on this and see if the above comment from ppt-adsk was helpful in resolving the issue on your end? |
Hi @gracekumagai, happy new year! Just wanted to check back and see if this can be closed out or if you had any further questions. |
closing this one for now, based on the convo above. @gracekumagai feel free to re-open if the offered solution isn't helpful :) |
Hey @santosd & @santosg87, apologies for the delay in testing! When reporting the initial issues, I used a very similar script mentioned in @ppt-adsk comment. I've retested everything and it looks like Ctrl+h and Shift+h (and setting visibility using object3d.setVisibleCmd) work as expected! However, I still ran into issues with the other methods for setting visibility. In terms of priority, artist facing actions are higher priority. For steps to reproduce, I used the Ctrl + h hotkey | Display -> Hide -> Hide Selection menu item | cmds.hide()
Shift + H hotkey | Ctrl + Shift + H hotkey | Display -> Show -> Show Selection or Show Last Hidden menu items | cmds.showHidden()
H hotkey
Set visibility using pxr.Usd.Attribute
ufe.PyUfe.AttributeEnnumString
cmds.setAttr()
ufe.Object3d.object3d
I'm testing with:
|
Hi @gracekumagai thank you for the response on this one, I will take a look and if need be log an issue for the remaining workflows. |
Hi @gracekumagai, sorry for missing the full context of the initial post. I do see that certain commands for editing the visibility don't get routed correctly. I have created an internal ticket for us to take a look at MAYA-127758. |
Hey @santosd, no problem and thank you for looking into it! I'm happy to have had the chance to go back in since a couple of the issues have been resolved 🎉 |
11/20/23 Update:
|
Describe the bug
When working on #2546, @jallex and I noticed that after we had registered an edit router to route visibility edits to the session layer, setting visibility was not consistently set in the session layer.
Expected behavior
We would expect to have visibility routed to the session layer (our routing layer) after we've registered the edit router.
From chatting with our artists, their main workflow for setting visibility is to use Ctrl+h and Shift+h hotkeys. On our side, the Display menu actions and corresponding hotkeys would be the top priority to fix.
Fwiw - they also heavily rely on using Display Layers to toggle visibility.
Steps to reproduce
We tested with this PR #2546. Then, we created a stage and using the context menu in the outliner, added prims to test with.
Ctrl + h hotkey | Display -> Hide -> Hide Selection menu item |
cmds.hide()
Shift + H hotkey | Ctrl + Shift + H hotkey | Display -> Show -> Show Selection or Show Last Hidden menu items |
cmds.showHidden()
H hotkey | set visibility using pxr.Usd.Attribute
cmds.setAttr()
| ufe.PyUfe.AttributeEnnumStringufe.Object3d.object3d
Specs (if applicable):
Pixar Jira: MAYA-3451
The text was updated successfully, but these errors were encountered: