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
Changing a primvar in any way (adding or removing a primvar, changing a primvar value, changing primvar interpolation, changing a primvar value or interpolation of an inherited primvar, etc) all cause a full hydra resync of the prim and all its children (because of possible primvar inheritance). Instead, a simple DirtyPrimvar change should be enough to resync the prim(s).
This change will likely cause problems for some render delegates that currently rely on a full resync when primvars are added or removed (and note the persistent nature of the primvar descriptors in the value cache - there is no way to remove a primvar from the desriptors stored in the cache). I would prefer if it were up to the render delegate to handle the adding/removal of a primvar without a full resync, even if this did require updating some delegates...
- Adds and removes a primvar that is consumed by the material (using a fallback value).
- Adds/removes primvars that aren't used by the material.
See #1078
(Internal change: 2047501)
(Internal change: 2047897)
Description of Issue
Changing a primvar in any way (adding or removing a primvar, changing a primvar value, changing primvar interpolation, changing a primvar value or interpolation of an inherited primvar, etc) all cause a full hydra resync of the prim and all its children (because of possible primvar inheritance). Instead, a simple DirtyPrimvar change should be enough to resync the prim(s).
This change will likely cause problems for some render delegates that currently rely on a full resync when primvars are added or removed (and note the persistent nature of the primvar descriptors in the value cache - there is no way to remove a primvar from the desriptors stored in the cache). I would prefer if it were up to the render delegate to handle the adding/removal of a primvar without a full resync, even if this did require updating some delegates...
Steps to Reproduce
sphere.zip
a = usdviewApi.stage.GetObjectAtPath("/geo.primvars:foo")
a.Set(1.0)
Package Versions
USD 19.11
The text was updated successfully, but these errors were encountered: