hotfix/renderglobalsMain

This commit is contained in:
Milan Kolar 2019-02-26 13:24:12 +01:00
parent 3bc2dfaa8e
commit b4ada94612
3 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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..")

View file

@ -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"