Changelog

[0.2.1] - 2022-11-21

Fixed

  • String representation of Issue

[0.2.0] - 2022-10-28

Added

  • Rules can include at to describe the layer/prim/attribute that has been flagged for a particular Issue

  • Rules can can include suggestion callables to fix layers/prims/attributes for one or more Issues

  • Added Suggestions to fix non-relative MDL pathing issues

  • Added Suggestions to fix some OmniDefaultPrimChecker issues

  • Added a rule for UsdLux schema changes, with a Suggestion to create inputs: prefixed attributes matching all known UsdLux attributes.

    • For backwards compatibility with current/older USD libraries, the non-prefixed attributes will be maintained.

    • Note Assets already containing prefixed attributes (eg created in a modern USD application) will not be flagged or modified by this rule.

Fixed

  • Improved asynchronous logic to avoid blocking the primary application (eg Create) & to fix crashes on some larger stages

  • Fixed KindChecker logic, which was previously flagging false issues with assemblies

[0.1.2] - 2022-09-15

Fixed

  • Fixed documentation build & publish.

[0.1.1] - 2022-09-14

Fixed

  • Updated extension registry details and documentation.

[0.1.0] - 2022-09-13

Added

  • ValidationEngine runs a set of rules on a given USD layer file, folder/container URI, or live Usd.Stage

    • Results captures any Issues for post-processing

  • ValidationRulesRegistry enables new rules to be registered with the engine

  • BaseRuleChecker defines an interface to validate a Usd.Stage

    • Derived classes may be registered with the ValidationEngine via the ValidationRulesRegistry

  • IssueFixer automatically fixes Issues where possible, using suggestions provided by the BaseRuleChecker classes.

  • ValidationRuleTestCase (in the tests submodule) simplifies testing of individual rules

  • Python script for initiating commandline validation runs