mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Refactor family to productType like currently in develop
(So basically revert)
This commit is contained in:
parent
946e9961bb
commit
3e4d6e6df5
1 changed files with 4 additions and 6 deletions
|
|
@ -171,16 +171,14 @@ class HoudiniSubmitDeadline(
|
|||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue