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

SetPopulationMask() doesn't trigger an ObjectsChanged notice #1139

Closed
nxkb opened this issue Mar 12, 2020 · 1 comment
Closed

SetPopulationMask() doesn't trigger an ObjectsChanged notice #1139

nxkb opened this issue Mar 12, 2020 · 1 comment

Comments

@nxkb
Copy link
Contributor

nxkb commented Mar 12, 2020

Description of Issue

When the population mask of a stage changes where it will cause re-population of prims, there should be an ObjectsChanged notice, but currently no notices are produced.

Our main concern is with how this prevents a usdview plugin from triggering a ui update when manipulating the population mask, so I'll describe that for the repro case...

Steps to Reproduce

  1. open usdview and the interpreter
  2. run usdviewApi.stage.SetPopulationMask(Usd.StagePopulationMask([Sdf.Path('/nonexistent_prim')]))
  3. usdview is now displaying invalid prims!

Package Versions

tested on usd-0.20.02

@jilliene
Copy link

Filed as internal issue #USD-5927

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

3 participants