mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
ignoring publish_on_farm representations
it was creating thumbnails in Ftrack even the version had to be created in future
This commit is contained in:
parent
178f044869
commit
b8838d70cf
1 changed files with 7 additions and 0 deletions
|
|
@ -234,9 +234,16 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
def _get_filtered_repres(self, instance):
|
||||
filtered_repres = []
|
||||
src_repres = instance.data.get("representations") or []
|
||||
|
||||
for repre in src_repres:
|
||||
self.log.debug(repre)
|
||||
tags = repre.get("tags") or []
|
||||
|
||||
if "publish_on_farm" in tags:
|
||||
# only process representations with are going
|
||||
# to be published locally
|
||||
continue
|
||||
|
||||
valid = "review" in tags or "thumb-nuke" in tags
|
||||
if not valid:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue