mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
remove maya specific code
This commit is contained in:
parent
ad216428f6
commit
75b6401cda
1 changed files with 0 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue