ynput / ayon-substance-painter

SubstancePainter integration for AYON
Apache License 2.0
2 stars 0 forks source link

Do not error on Collect Workfile Representations if current file is unsaved #7

Closed BigRoy closed 3 weeks ago

BigRoy commented 3 weeks ago

Changelog Description

Do not error on Collect Workfile Representation if current file is unsaved. Allow invalidation by validators.

Additional info

This is a companion PR to https://github.com/ynput/ayon-core/pull/786 When used together a better error report is shown for unsaved files.

image

(Screenshots from Houdini - should appear similar in Substance painter)

Testing notes:

  1. Use this PR together with https://github.com/ynput/ayon-core/pull/786
  2. Try publishing from an unsaved workfile
moonyuet commented 3 weeks ago

It won't error out workfile representation collector anymore. image

image