-
Notifications
You must be signed in to change notification settings - Fork 201
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-603 - Errors when trying to cache a rig with merge transforms ON and namespaces OFF #3474
Conversation
@@ -471,8 +471,6 @@ def testEditAndMergeRigMayaRef(self): | |||
value = xformOp.Get() | |||
self.assertIn("xformOp:translate", value) | |||
self.assertIn("xformOp:rotateXYZ", value) | |||
self.assertIn("xformOp:translate:channel1", value) | |||
self.assertIn("xformOp:rotateXYZ:channel1", value) |
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.
Removed these two lines because those are not valid any more, but I don't know if there's any other ways to test it...
@@ -195,7 +195,8 @@ SdfPath UsdMayaWriteJobContext::ConvertDagToUsdPath(const MDagPath& dagPath) con | |||
// write to the parent (transform) path instead. |
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.
As the comment stated, we should only write to parent if the current node is a shape node
@@ -690,6 +690,8 @@ void AddMayaExtents( | |||
MAYAUSD_CORE_PUBLIC | |||
SdrShaderNodePtrVec GetSurfaceShaderNodeDefs(); | |||
|
|||
bool isShape(const MDagPath& dagPath); |
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.
I think we shoudl export it by adding MAYAUSD_CORE_PUBLIC, like the other functions.
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.
Only need that export and it will be all good
channel1
part of the unity test because that attribute is created because of the bug above. I compared the cache to usd result to a normal export and the files matches (there's nochannel1
in normal export usd files)