From b4ada94612db31fe9f1233ff9dcceda8aedb897c Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Tue, 26 Feb 2019 13:24:12 +0100 Subject: [PATCH] hotfix/renderglobalsMain --- pype/plugins/global/publish/submit_publish_job.py | 4 ++-- pype/plugins/maya/publish/collect_renderlayers.py | 2 +- pype/plugins/maya/publish/submit_maya_deadline.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pype/plugins/global/publish/submit_publish_job.py b/pype/plugins/global/publish/submit_publish_job.py index 4357588e25..f4f98ed170 100644 --- a/pype/plugins/global/publish/submit_publish_job.py +++ b/pype/plugins/global/publish/submit_publish_job.py @@ -126,14 +126,14 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin): hosts = ["fusion", "maya", "nuke"] families = [ - "render.deadline", + "render.farm", "renderlayer", "imagesequence" ] def process(self, instance): - DEADLINE_REST_URL = api.Session.get("DEADLINE_REST_URL", + DEADLINE_REST_URL = os.environ.get("DEADLINE_REST_URL", "http://localhost:8082") assert DEADLINE_REST_URL, "Requires DEADLINE_REST_URL" diff --git a/pype/plugins/maya/publish/collect_renderlayers.py b/pype/plugins/maya/publish/collect_renderlayers.py index c926baf803..d2c64e2117 100644 --- a/pype/plugins/maya/publish/collect_renderlayers.py +++ b/pype/plugins/maya/publish/collect_renderlayers.py @@ -20,7 +20,7 @@ class CollectMayaRenderlayers(pyblish.api.ContextPlugin): # Get render globals node try: - render_globals = cmds.ls("renderglobalsDefault")[0] + render_globals = cmds.ls("renderglobalsMain")[0] except IndexError: self.log.info("Skipping renderlayer collection, no " "renderGlobalsDefault found..") diff --git a/pype/plugins/maya/publish/submit_maya_deadline.py b/pype/plugins/maya/publish/submit_maya_deadline.py index e476e62bb4..bb972637f3 100644 --- a/pype/plugins/maya/publish/submit_maya_deadline.py +++ b/pype/plugins/maya/publish/submit_maya_deadline.py @@ -104,7 +104,7 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin): def process(self, instance): - DEADLINE_REST_URL = api.Session.get("DEADLINE_REST_URL", + DEADLINE_REST_URL = os.environ.get("DEADLINE_REST_URL", "http://localhost:8082") assert DEADLINE_REST_URL, "Requires DEADLINE_REST_URL"