Skip to content

Commit

Permalink
Fix propagation updated job_info
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisp committed Nov 15, 2024
1 parent fa9327c commit 3aa671c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/ayon_deadline/abstract_submit_deadline.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def process(self, instance):
job_id = self.process_submission()
self.log.info("Submitted job to Deadline: {}.".format(job_id))

instance.data["deadline"]["job_info"] = deepcopy(self.job_info)

# TODO: Find a way that's more generic and not render type specific
if instance.data.get("splitRender"):
self.log.info("Splitting export and render in two jobs")
Expand All @@ -130,6 +132,8 @@ def process(self, instance):
auth = instance.data["deadline"]["auth"]
verify = instance.data["deadline"]["verify"]
render_job_id = self.submit(payload, auth, verify)

instance.data["deadline"]["job_info"] = deepcopy(render_job_info)
self.log.info("Render job id: %s", render_job_id)

def _set_scene_path(self, current_file, use_published):
Expand Down

0 comments on commit 3aa671c

Please sign in to comment.