Skip to content
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

Undo of delete must update stage cache. #2503

Merged
merged 4 commits into from
Jul 28, 2022

Conversation

ppt-adsk
Copy link
Collaborator

No description provided.

pierrebai-adsk
pierrebai-adsk previously approved these changes Jul 26, 2022
@@ -83,6 +86,16 @@ inline Ufe::Path::Segments::size_type nbPathSegments(const Ufe::Path& path)
#endif
}

inline Ufe::Path toPath(const std::string& pathString)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I almost feel like we should put this in some util function, it has come up a few times in the past... I know I've been bitten a lot by it in unit test (but that is in Python, irrelevant here.)

pierrebai-adsk
pierrebai-adsk previously approved these changes Jul 26, 2022
@pierrebai-adsk
Copy link
Collaborator

Assigned the Jira ticket to you so you can resolve it to QA when the tests pass.

@@ -147,6 +147,53 @@ def testDeleteStage(self):
# Request the now dead proxy shape. This should not crash.
result = handler.findGatewayItems(proxyShapePath)

@unittest.skipUnless(ufeUtils.ufeFeatureSetVersion() >= 2, 'testDeleteStageUndo uses PathString which is only available in UFE v2 or greater.')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to @pierrebai-adsk for the test.

@ppt-adsk ppt-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Jul 27, 2022
@seando-adsk seando-adsk added the ufe-usd Related to UFE-USD plugin in Maya-Usd label Jul 28, 2022
@seando-adsk seando-adsk merged commit c4afd95 into dev Jul 28, 2022
@seando-adsk seando-adsk deleted the tremblp/MAYA-123792/undelete_vs_stage_map branch July 28, 2022 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants