From d21fa4263677b5a64d03604d79bf47a667eda23e Mon Sep 17 00:00:00 2001 From: MustafaJafar Date: Fri, 19 Jul 2024 15:31:22 +0300 Subject: [PATCH] get group names from attribute_values --- .../publish/houdini/submit_houdini_render_deadline.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/ayon_deadline/plugins/publish/houdini/submit_houdini_render_deadline.py b/client/ayon_deadline/plugins/publish/houdini/submit_houdini_render_deadline.py index fd2827482a..9772329ab1 100644 --- a/client/ayon_deadline/plugins/publish/houdini/submit_houdini_render_deadline.py +++ b/client/ayon_deadline/plugins/publish/houdini/submit_houdini_render_deadline.py @@ -224,7 +224,9 @@ def get_job_info(self, dependency_job_ids=None): job_info.ChunkSize = attribute_values.get( "export_chunk", self.export_chunk_size ) - job_info.Group = self.export_group + job_info.Group = attribute_values.get( + "export_group", self.export_group + ) else: job_info.Priority = attribute_values.get( "priority", self.priority @@ -232,7 +234,9 @@ def get_job_info(self, dependency_job_ids=None): job_info.ChunkSize = attribute_values.get( "chunk", self.chunk_size ) - job_info.Group = self.group + job_info.Group = attribute_values.get( + "group", self.group + ) # Apply render globals, like e.g. data from collect machine list render_globals = instance.data.get("renderGlobals", {})