-
Notifications
You must be signed in to change notification settings - Fork 202
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
EMSUSD-632 prevent root metadata changes when not targeting root #3398
Conversation
pierrebai-adsk
commented
Oct 18, 2023
•
edited
Loading
edited
- Add a applyRootLayerMetadataRestriction helper function to enforce not modifying the root layer metadata when not targeting the root layer.
- The only restriction applied is about the default prim.
- Call it from within the applyCommandRestriction helper function.
- Call it from within the default prim commands.
- Add unit tests for the rename, parent and group default prim restrictions.
- Add tests for the default prim commands.
- Add a applyRootLayerMetadataRestriction helper function to enforce not modifying the root layer metadata when not targeting the root layer. - The only restriction applied is about the default prim. - Call it from within the applyCommandRestriction helper function. - Call it from within the default prim commands. - Add unit tests for the rename, parent and group default prim restrictions. - Add tests for the default prim commands.
ca96687
to
0d9de70
Compare
- Wrap commands for Python. - Use commands instead of USD calls in AE. - Allow clearing the default prim with only a stage in addition to with a prim.
The Attribute Editor now uses the command and can be undone. |
Once again, the only PF failure is one interactive test in a single PF where a USD file was left behind in the temp folder from e previous PF, that failure can be ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Just a couple of very minor comments.