You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the function SdfCreateVariantInLayer is not consistent with the default behavior of UsdVariantSets.AddVariantSet. The former currently adds the variant set name to the prim spec's list with the add verb, whereas the latter uses prepend by default and does not even have add as an option.
Steps to Reproduce
Create two prims to a stage with only one layer
Call SdfCreateVariantInLayer for a root layer prim spec for the first prim
Fetch the UsdVariantSets for the second prim and call AddVariantSet.
Export the layer as string and compare the results
System Information (OS, Hardware)
Windows 10
Package Versions
21.02
Build Flags
--no-usdview --no-imaging --build-monolithic
The text was updated successfully, but these errors were encountered:
Description of Issue
Currently the function SdfCreateVariantInLayer is not consistent with the default behavior of UsdVariantSets.AddVariantSet. The former currently adds the variant set name to the prim spec's list with the add verb, whereas the latter uses prepend by default and does not even have add as an option.
Steps to Reproduce
System Information (OS, Hardware)
Windows 10
Package Versions
21.02
Build Flags
--no-usdview --no-imaging --build-monolithic
The text was updated successfully, but these errors were encountered: