Skip to content

Commit

Permalink
Refactor family to productType like currently in develop
Browse files Browse the repository at this point in the history
(So basically revert)
  • Loading branch information
BigRoy committed Jun 4, 2024
1 parent 946e996 commit 3e4d6e6
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3e4d6e6

Please sign in to comment.