From 3e4d6e6df510ce36e587713fd750fa557d49fa21 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Wed, 5 Jun 2024 00:17:47 +0200 Subject: [PATCH] Refactor `family` to `productType` like currently in `develop` (So basically revert) --- .../plugins/publish/submit_houdini_render_deadline.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/client/ayon_core/modules/deadline/plugins/publish/submit_houdini_render_deadline.py b/client/ayon_core/modules/deadline/plugins/publish/submit_houdini_render_deadline.py index 6f95def8bb..48792fd7ec 100644 --- a/client/ayon_core/modules/deadline/plugins/publish/submit_houdini_render_deadline.py +++ b/client/ayon_core/modules/deadline/plugins/publish/submit_houdini_render_deadline.py @@ -171,16 +171,14 @@ def get_job_info(self, dependency_job_ids=None): job_type = "[RENDER]" if split_render_job and not is_export_job: - # Convert from family to Deadline plugin name - # i.e., arnold_rop -> Arnold - family = instance.data["family"] + product_type = instance.data["productType"] plugin = { "usdrender": "HuskStandalone", - }.get(family) + }.get(product_type) if not plugin: - # Convert from family to Deadline plugin name + # Convert from product type to Deadline plugin name # i.e., arnold_rop -> Arnold - plugin = family.replace("_rop", "").capitalize() + plugin = product_type.replace("_rop", "").capitalize() else: plugin = "Houdini" if split_render_job: