Skip to content

Commit

Permalink
Add more family so attribute definitions show in Nuke and Fusion for …
Browse files Browse the repository at this point in the history
…`render`, `image` and `prerender`.

This should be safe because `instance.data.get("farm")` is checked in `process()` and if not true the processing is skipped anyway - so if e.g. a render instance in Fusion is set to render local instead of on the farm the actual attribute definition does show - but the processing of the plug-in is skipped regardless.
  • Loading branch information
BigRoy committed Apr 17, 2024
1 parent e6fbc81 commit 03cfed2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin,
hosts = ["fusion", "max", "maya", "nuke", "houdini",
"celaction", "aftereffects", "harmony", "blender"]

families = ["render.farm", "render.frames_farm",
"prerender.farm", "prerender.frames_farm",
"renderlayer", "imagesequence",
families = ["render", "render.farm", "render.frames_farm",
"prerender", "prerender.farm", "prerender.frames_farm",
"renderlayer", "imagesequence", "image",
"vrayscene", "maxrender",
"arnold_rop", "mantra_rop",
"karma_rop", "vray_rop",
Expand Down Expand Up @@ -311,7 +311,6 @@ def _submit_deadline_post_job(self, instance, job, instances):

return deadline_publish_job_id


def process(self, instance):
# type: (pyblish.api.Instance) -> None
"""Process plugin.
Expand Down

0 comments on commit 03cfed2

Please sign in to comment.