-
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
Merge Maya Edits to USD, when Skeletons are involved, ends up in an error #3765
Comments
Thank you for reporting. We will look into this. |
Hi @daniele-niero I see the problem you are having. USD expects for joints to exist under a group so that it can convert that into the skel root prim. This seems to be causing issues when we attempt to run an edit as maya data on the root joint. I think you still have a valid point that this should still work so I am going to log a ticket internally to see if we can have our development team take a look, but in the meantime try running the Edit As Maya Data on the "SkeletonGroup" instead of on "Joint1" |
@santosd Thank you. I tried again, picking and converting the root instead of the skeleton and yes, the error is gone, however whatever modification I have done to the joints, when they were in "Maya form" is not pushed back to the USD structure. |
Thank you @daniele-niero I took a look at the issue. I did hit the issue, However, I noticed that my setting didn't have the skeleton options selected for merging my edits, once I made sure that I had the correct skeleton settings for my merge, everything worked as expected. Can you give that a try?
I did notice a different issue on my end that when I merge my skeleton it is not in the same location as it is in Maya. I will log this issue internally to have one of our developers take a look. |
Sorry @santosd but it still doesn't work. The only time I get the SkeletonRoot to convert back to USD data is when those options you mentioned are set to None, all other options gives me errors. Specifically the one you mentioned gives me this:
If I leave those options to None, then something happens, but as I said, nothing of what I changed gets pushed back to USD. And of course I'm working at the SkeletonRoot level not the joint level |
Hi @daniele-niero sorry it had been a while since I responded on this ticket. It looks like some code was merged that may help with the issue I was seeing. |
Hi @daniele-niero Just checking back to see if you have had a chance to test the information I provided previously. |
Issue Description
Maya is able to read and show (USD) Skeletons when loaded through
Create->Universal Scene Description (USD)->Stage From File
, but it doesn't show individual joints and therefore I can't change them.However it is possible to right click on the joint root, in the Outliner and choose
Edit As Maya Data
and the skeleton structure is now converted into Maya's joints.Now that I have Maya joints I can modify them and right clicking again on the joint root, now a Maya joint, I can see two extra options:
Merge Maya Edits to USD
andDiscard Maya Edits
Discarding edits works just fine. Maya joints disappear and the USD structure come back. Good.
Unfortunately
Merge Maya Edits to USD
ends always with an errorSteps to reproduce
Steps to reproduce the behavior:
This was generated by this Maya structure, exported to USD from Maya itself.
Go to
Create -> Universal Scene Description (USD) -> Stage From File...
Select and load the USD file above.
This will create this structure in Maya:
Select
joint1
, which is the Skeleton in the USD structure, right click on it and selectEdit As Maya Data
Now the USD structure is converted into standard Maya Joints
Modify the joints in any way you want
Select again joint1, right click on it, and choose
Merge Maya Edits to USD
This will result in an error:
Expected behavior
Whatever modification was done on the joints in Maya, should go back to the USD structure without errors.
If an error happens, it should be clear and explain what went wrong with details and possibly explaining what we should do instead.
Specs:
The text was updated successfully, but these errors were encountered: