ynput / ayon-maya

Maya addon for AYON
Apache License 2.0
6 stars 9 forks source link

Allow loading published rig that has no `out_SET` and no `controls_SET` #169

Closed BigRoy closed 3 weeks ago

BigRoy commented 3 weeks ago

Changelog Description

Allow loading published rig that has no out_SET and no controls_SET but then skip creating the animation instance automatically, with a warning

Additional review information

There may be edge cases where a rig was published without those sets without validation errors (the validators are disabled by default) but then being unable to load them is very annoying. So this allows them to be loaded, but with a warning logged instead.

Fixes https://github.com/ynput/ayon-maya/issues/168

Testing notes:

  1. Create rig instance
  2. Remove the out_SET and controls_SET from the instance
  3. (Make sure the validate rig contents validator is disabled; it's disabled by default)
  4. Publish rig
  5. Load the rig
BigRoy commented 3 weeks ago

I have followed the testing steps and all been functional...

ended up with loaded rig without out_set and control_set without any issues and no animation publish instance present within publisher ui.

image

Just to be sure - was there a warning logged in the script editor?