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

Improperly created scene item must not crash move tool. #1636

Merged

Conversation

ppt-adsk
Copy link
Collaborator

@ppt-adsk ppt-adsk commented Aug 18, 2021

#1596
fixed crashing on improperly created scene items for UFE v1. This pull request does more of the same, for UFE v2 this time.

@@ -394,5 +394,37 @@ def createCommonAPI(testCase, sphereXformable):

self.runTestOpUndo(createCommonAPI, 'xformOp:translate')

def testBadSceneItem(self):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Test Driven Development: wrote the test first, it crashed and failed, wrote the fix, test passes.

lib/mayaUsd/ufe/UsdTransform3dCommonAPI.cpp Show resolved Hide resolved
test/lib/ufe/testMoveCmd.py Show resolved Hide resolved
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

Looks good.

@seando-adsk seando-adsk added ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd labels Aug 23, 2021
@seando-adsk seando-adsk merged commit 4223573 into dev Aug 23, 2021
@seando-adsk seando-adsk deleted the tremblp/MAYA-112601/fix_ufe_v2_transform3d_creation branch August 23, 2021 19:22
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.

3 participants