-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ValueMightBeTimeVarying now takes splines into account
- Updated UsdStage::_ValueMightBeTimeVaryingFromResolveInfo, which determines if the resolveInfo's source is UsdResolveInfoSourceSpline, in which case it returns true. Do note that we do not inspect the spline itself here to determine if the spline represents a constant in time function, as doing so will be expensive. Our aim is to give the clients a hint that the attribute you are dealing with, "might" be time varying. This is similar to what is done with TimeSamples, where we don't go and inspect every time samples on an attribute to determine if its constant across time or not. - Note that UsdAttributeQuery's ValueMightBeTimeVarying will automatically work since it relies on the UsdStage::_ValueMightBeTimeVaryingFromResolveInfo itself. - Updated testUsdSplines* to test the modified API. (Internal change: 2357151)
- Loading branch information
1 parent
1e087b6
commit 7f5e519
Showing
4 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters