-
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
Skeletons without SkelBindingAPI do not import animation #3341
Comments
@spiffmon I think this might be a regression in USD 23.8.
If |
The documentation could and should be improved, @dgovil , but like all applied API schemas, no data encoded by the schema is considered "present" unless the API has been applied to the prim - all Hydra 2 behaviors are predicated on that. So, while this is a behavior regression from 23.05, the 23.05 (and earlier) |
In this case though the skeleton has no binding to a mesh, so there's no imageable for binding. Wouldn't that be a case where you don't need the schema? Though I understand what you mean since animation data is part of the bindingAPI. I wonder if there's room for a Boolean flag to query the animation without the API Schema being present. In the meantime I'll patch our internal importer to implicitly apply the schema before querying. |
I'd still disagree, @dgovil : without the SkelBindingAPI applied, it should be as if the And skeletons can be imaged by Hydra also! |
Hmm fair enough. I'll close this issue out and maybe propose adding a warning message instructing users what to do when importing. |
Describe the bug
After we upgraded to USD 23.8, Maya USD no longer imports skeleton animation unless the SkelBindingAPI is applied to the Skeleton Prim.
I tried building the latest commit (b48151b) and I see this issue.
This seems like some kind of incompatibility with USD 23.8 that I wanted to flag. I think skeleton animation should always import regardless of the binding.
The docs on UsdSkelBindingAPI also suggest it's only meant to be relevant to the geometry bindings. It's late so I didn't do a deep dive into the code, but it looks like it early exits if it can't get the bindings.
I can understand if skinning/binding information didn't import (though I'd argue even in that case it should still import because it's not a runtime evaluation, and there are likely enough old files that would benefit from it)
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
I think skeletons should still import animation regardless of whether SkelBindingAPI is applied or not.
Attachments
JumpingCube.usda.zip
The text was updated successfully, but these errors were encountered: