-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: bug switching sub-assembly representation from Full to Collapsed #62
Comments
Filed as internal issue #137727. |
I just checked and the solution from issue #61 of setting the root primPath work here as well: import maya.cmds as cmds
root = cmds.assembly(name='testAss', type='pxrUsdReferenceAssembly')
cmds.setAttr(root + '.filePath', '/projects/usd/tutorials/endToEnd/models/Room_set/Room_set.usd', type='string')
# Must set primPath!
cmds.setAttr(root + '.primPath', '/Room_set', type='string')
cmds.assembly(root, active='Expanded', edit=True)
sub = 'NS_testAss:Ball_1'
cmds.assembly(sub, active='Full', edit=True) I think both of these issues are now a question of how best to prevent users from making this mistake. Some options:
|
Hey @chadrik - we think the work by @mattyjams to make nested assemblies pull from the main stage also addressed this (we can no longer repro)... and you're also no longer interested in assemblies :-) Closing! |
roger. you can probably close #61 too |
To create the assets used in the repro below, I first completed the endToEnd tutorial through the creation of Room_set.usd
To reproduce:
Create an assembly, set the it to Expanded, and set one of the children to Full:
Now set the child to Collapsed:
What we should see is the Ball asset as a proxy, instead we see the entire Room_set, offset by the ball's xform.
The text was updated successfully, but these errors were encountered: