-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Payloads selected by variant from class do not appear #156
Comments
Filed as internal issue #142302. |
Hi Aloys -- we have a fix in testing for this and it should make its way into the github dev branch soon. |
This issue should be addressed by commit f7c6045 in the dev branch. |
That's great news! Thanks to everyone involved! |
Aloys, I recommend grabbing commit f7c6045 as well as 11d796f. These changes have passed our internal unit, integration, performance, and memory correctness (valgrind) tests so they should be quite safe. Although it's not a tiny change, it is purely to the internals of the Pcp algorithm, and does not affect anything downstream (i.e. no API or ABI changes). |
Thanks a lot Brett, we'll pick these two commits early then! |
Just wanted to confirm that the dev branch is indeed fixing this bug, thanks a lot! |
This has been merged into release 0.7.3. |
Description of Issue
Hi,
When selecting a variant that brings in a payload, if the variant is selected via inheritance then the payload is not composed in. This was reported initially there: https://groups.google.com/forum/#!topic/usd-interest/XhIKmjrZsL4
Cheers,
Aloys
Steps to Reproduce
bob.usd
bob_geo.usd
Open bob.usd in usdview, then select the "_class_geotype" class and select the variant "geotype_selector=select_cube", then select the "bob" prim, you'll see that the "geotype" variant has been correctly set to "cube" but the associated payload does not appear in the metadata tab, and you can't right-click->Load on the geo prim. If you then select "geotype=sphere" on the "bob" prim, the payload gets correctly composed and things go back to normal...
Workaround can be to add a reference inbetween like this, but the additional prim is not desirable and looks wrong...
bob_working.usd
System Information (OS, Hardware)
Linux, centos6
Package Versions
USD 0.7.2
Build Flags
NA
The text was updated successfully, but these errors were encountered: