From d9780d8caaec22377d98fcacc20b54561073dc0a Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 16 Oct 2019 13:52:40 +0200 Subject: [PATCH] changes in extract_review were changed back since it's nuke break change --- pype/plugins/global/publish/extract_review.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 49e71e535b..7e67ef7bab 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -20,7 +20,7 @@ class ExtractReview(pyblish.api.InstancePlugin): label = "Extract Review" order = pyblish.api.ExtractorOrder + 0.02 families = ["review"] - hosts = ["nuke", "maya", "shell", "standalonepublisher"] + hosts = ["nuke", "maya", "shell"] def process(self, instance): # adding plugin attributes from presets @@ -37,15 +37,10 @@ class ExtractReview(pyblish.api.InstancePlugin): # get representation and loop them representations = instance.data["representations"] - # get specific profile if was defined - specific_profiles = instance.data.get("repreProfiles") - # filter out mov and img sequences representations_new = representations[:] for repre in representations: - # remove dot if extension has - repre_ext = repre['ext'].replace(".", "") - if repre_ext not in plugin_attrs["ext_filter"]: + if repre['ext'] in plugin_attrs["ext_filter"]: tags = repre.get("tags", []) self.log.info("Try repre: {}".format(repre)) @@ -55,10 +50,6 @@ class ExtractReview(pyblish.api.InstancePlugin): for name, profile in output_profiles.items(): self.log.debug("Profile name: {}".format(name)) - # filter profiles if were set specific profiles - if specific_profile and name not in specific_profiles: - continue - ext = profile.get("ext", None) if not ext: ext = "mov"