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

Plugin Attributes Not Being Honored #1

Open
nickwoo opened this issue Sep 17, 2020 · 0 comments
Open

Plugin Attributes Not Being Honored #1

nickwoo opened this issue Sep 17, 2020 · 0 comments

Comments

@nickwoo
Copy link

nickwoo commented Sep 17, 2020

When trying to use the USD plugin, we noticed that no matter what we did, whenever we imported geometry from a USD with variants, it would load whatever the default variant was. After spending time in the logs, I realized the plugin was not honoring the prim path variant selection list. When digging into the code, I noticed the host getAttribute calls on a number of the attributes (variants, conform to mari Y, keep centered, include invisible, create face selection groups) were incorrect.

Example:
plugins/fnUsdMeshImport/UsdReader.cpp: line 872:
from: if (_host.getAttribute(Entity, "variants", &Value) == MRI_UPR_SUCCEEDED)
to: if (_host.getAttribute(Entity, "Variants", &Value) == MRI_UPR_SUCCEEDED)

Making this change allows variant selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant