mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Fix cleanup of camera info
Without it .mel script in RR would fail with syntax error.
This commit is contained in:
parent
d6b0b9c74c
commit
d0e1d5c36f
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ class CreateMayaRoyalRenderJob(lib.BaseCreateRoyalRenderJob):
|
|||
def update_job_with_host_specific(self, instance, job):
|
||||
job.Software = "Maya"
|
||||
job.Version = "{0:.2f}".format(MGlobal.apiVersion() / 10000)
|
||||
job.Camera = instance.data["cameras"][0],
|
||||
if instance.data.get("cameras"):
|
||||
job.Camera = instance.data["cameras"][0].replace("'", '"')
|
||||
workspace = instance.context.data["workspaceDir"]
|
||||
job.SceneDatabaseDir = workspace
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue