remove maya specific code

This commit is contained in:
Ondřej Samohel 2020-11-09 12:22:16 +01:00
parent ad216428f6
commit 75b6401cda
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -117,23 +117,11 @@ class AbstractCollectRender(pyblish.api.ContextPlugin):
def process(self, context):
"""Entry point to collector."""
rendering_instance = None
for instance in context:
if "rendering" in instance.data["families"]:
rendering_instance = instance
rendering_instance.data["remove"] = True
# make sure workfile instance publishing is enabled
if "workfile" in instance.data["families"]:
instance.data["publish"] = True
if not rendering_instance:
self.log.info(
"No rendering instance found, skipping render "
"layer collection."
)
return
self._file_path = context.data["currentFile"].replace("\\", "/")
render_instances = self.get_instances()