updated legacy code with latest develop

This commit is contained in:
iLLiCiTiT 2020-05-20 16:03:55 +02:00
parent 3d7da50191
commit f4a0157648

View file

@ -1148,6 +1148,12 @@ class ExtractReview(pyblish.api.InstancePlugin):
repre_new = repre.copy() repre_new = repre.copy()
ext = profile.get("ext", None) ext = profile.get("ext", None)
p_tags = profile.get('tags', []) 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)) self.log.info("p_tags: `{}`".format(p_tags))
# adding control for presets to be sequence # adding control for presets to be sequence