mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
global, flame, hiero, resolve, sp: implementing newAssetPublishing
This commit is contained in:
parent
830e79ca17
commit
a3a839181b
6 changed files with 22 additions and 5 deletions
|
|
@ -24,6 +24,10 @@ class ValidateAssetDocs(pyblish.api.InstancePlugin):
|
|||
if instance.data.get("assetEntity"):
|
||||
self.log.info("Instance has set asset document in its data.")
|
||||
|
||||
elif instance.data.get("newAssetPublishing"):
|
||||
# skip if it is editorial
|
||||
self.log.info("Editorial instance is no need to check...")
|
||||
|
||||
else:
|
||||
raise PublishValidationError((
|
||||
"Instance \"{}\" doesn't have asset document "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue