forked from PixarAnimationStudios/OpenUSD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow validators (prim and stage level) to provide timeCodes to be ev…
…aluated for validation - Adds a isTimeDependent metadata to UsdValidationValidatorMetadata - Note that Prim and Stage Level Validators can have logic which is time dependent. Though its recommended that prim level validators evaluate properties within a prim etc. But as Stage has access to all the prims, Stage level validators are also provided with TimeCode, if the validation logic requires it. - Introduced UsdValidationTimeRange - Class which holds the GfInterval which needs to be validated, + if default time needs to be included. - Updated various APIs to use UsdValidationTimeRange - Update UsdValidationContext::Validate(prim) and UsdValidationContext::Validate(stage) overloads take in a UsdValidationTimeRange parameter - Update ValidationContext::_ValidateStage and _ValidatePrim logic to use UsdValidationTimeRange - Added tests showing the same (Internal change: 2352274)
- Loading branch information
1 parent
a8e2302
commit 5eee5ee
Showing
25 changed files
with
997 additions
and
126 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
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
Oops, something went wrong.