mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
use 'newAssetPublishing' instead of 'isEditorial'
This commit is contained in:
parent
ee85ee80a2
commit
a31214d2c4
5 changed files with 9 additions and 11 deletions
|
|
@ -69,9 +69,9 @@ class CollectResourcesPath(pyblish.api.InstancePlugin):
|
|||
|
||||
def process(self, instance):
|
||||
# editorial would fail since they might not be in database yet
|
||||
is_editorial = instance.data.get("isEditorial")
|
||||
if is_editorial:
|
||||
self.log.debug("Instance is Editorial. Skipping.")
|
||||
new_asset_publishing = instance.data.get("newAssetPublishing")
|
||||
if new_asset_publishing:
|
||||
self.log.debug("Instance is creating new asset. Skipping.")
|
||||
return
|
||||
|
||||
anatomy = instance.context.data["anatomy"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue