From b503870d3f93164495048c0b0b0a246bd0720788 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Fri, 20 Mar 2020 14:49:51 +0100 Subject: [PATCH] fix(global): original repre tags are included to preset tags --- pype/plugins/global/publish/extract_review.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 7c5f90b135..ea05360250 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -77,6 +77,12 @@ class ExtractReview(pyblish.api.InstancePlugin): repre_new = repre.copy() ext = profile.get("ext", None) p_tags = profile.get('tags', []) + + # append repre tags into profile tags + for t in tags: + if t not in p_tags: + p_tags.append(t) + self.log.info("p_tags: `{}`".format(p_tags)) # adding control for presets to be sequence