-
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
MAYA-123122 remember shared/unshared load state #2398
Conversation
pierrebai-adsk
commented
Jun 3, 2022
- Move and refactor code in proxy shape to avoid code duplication.
- (There was duplication between shared and unshared case.)
- Now unshared stage also applied the load state.
- Add functions to the proxy shape load rule helper class to trigger saving load rules.
- Save load rules when modifying the loaded state of prims.
- Refactor the load state commands to share mode code.
- Move and refactor code in proxy shape to avoid code duplication. - (There was duplication between shared and unshared case.) - Now unshared stage also applied the load state. - Add functions to the proxy shape load rule helper class to trigger saving load rules. - Save load rules when modifying the loaded state of prims. - Refactor the load state commands to share mode code.
The only PF failure is the OSX compiler crashing during the compilation of mayaShaderTranslation.cpp... only for 2022 python 3. Probably an unrelated random crash. |
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.
Any way we can write a test for this?
Seems doable, I'll write one. |
Unit test adds a load rule to unload some prims then verify that the load rules are preserved when sharing and unsharing the stage. Verified that the unit test failed without my changes.
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.
Thanks for the test!
Test requires context ops.
Only PF failure is the known Linux interactive image comparison test problem. |