Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UsdPrim.GetAppliedSchemas will return same single apply-schemas multiple times if authored schemas share the same built-in schemas #2336

Closed
jpankalainen opened this issue Mar 15, 2023 · 1 comment

Comments

@jpankalainen
Copy link

Description of Issue

If a prim has authored API schemas that share the same built-in schemas, UsdPrim.GetAppliedSchemas will report the same built-in schemas multiple times even when the built-in schemas are supposed to be singleApplyAPIs. I would only expect the prim to only have applied the schema once since it's supposed to be a single apply schema.

Steps to Reproduce

  1. Create an applied API schema with a built-in API
  2. Create another applied API schema with the same built-in API
  3. Apply both to the same Prim
  4. Call GetAppliedSchemas for the prim
    -> The built-in API gets listed twice

System Information (OS, Hardware)

Windows 10, 64bit

Package Versions

23.02

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-8125

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

No branches or pull requests

2 participants