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

Attempt to fix a crash on Hydra update when a prototype primitive is removed #1418

Conversation

marktucker
Copy link
Contributor

Attempt to fix a crash on Hydra update when a prototype primitive is removed
(deleted or deactivated) in the same update cycle where an inheritable primvar
is added or changed to an ancestor of the prototype that used to exist.

Description of Change(s)

In UsdImagingPointInstancerAdapter::_GetProtoUsdPrim, test that prim is valid before calling prim.IsPrototype().
In UsdImagingPointInstancerAdapter::ProcessPropertyChange, if the prototype UsdPrim is invalid, set the dirty bits to "clean".

Fixes Issue(s)

…removed

(deleted or deactivated) in the same update cycle where an inheritable primvar
is added or changed to an ancestor of the prototype that used to exist.
@jtran56
Copy link

jtran56 commented Dec 21, 2020

Filed as internal issue #USD-6523

@sunyab
Copy link
Contributor

sunyab commented Apr 20, 2021

This PR was merged in commit 85e9400 and released in 21.05. Closing, thanks!

@sunyab sunyab closed this Apr 20, 2021
@marktucker marktucker deleted the dev_instancer_update_crash branch April 22, 2021 16:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants