remove the un-necessary 'render.farm.hou' intermidate family

This commit is contained in:
MustafaJafar 2024-04-04 12:32:57 +02:00
parent 4a5f0ebc92
commit 4e6bd3d336
5 changed files with 26 additions and 5 deletions

View file

@ -52,4 +52,3 @@ class CollectFarmInstances(pyblish.api.InstancePlugin):
return
instance.data["farm"] = True
instance.data["families"].append("render.farm.hou")

View file

@ -19,7 +19,11 @@ class IncrementCurrentFile(pyblish.api.ContextPlugin):
hosts = ["houdini"]
families = ["workfile",
"usdrender",
"render.farm.hou",
"mantra_rop",
"karma_rop",
"redshift_rop",
"arnold_rop",
"vray_rop",
"render.local.hou",
"publish.hou"]
optional = True

View file

@ -41,7 +41,11 @@ class CollectDeadlinePools(pyblish.api.InstancePlugin,
"renderlayer",
"maxrender",
"usdrender",
"render.farm.hou",
"mantra_rop",
"karma_rop",
"redshift_rop",
"arnold_rop",
"vray_rop",
"publish.hou"]
primary_pool = None

View file

@ -71,7 +71,12 @@ class HoudiniSubmitDeadline(
order = pyblish.api.IntegratorOrder
hosts = ["houdini"]
families = ["usdrender",
"render.farm.hou"]
"mantra_rop",
"karma_rop",
"redshift_rop",
"arnold_rop",
"vray_rop"]
targets = ["local"]
use_published = True
@ -314,6 +319,11 @@ class HoudiniSubmitDeadline(
return attr.asdict(plugin_info)
def process(self, instance):
if not instance.data["farm"]:
self.log.debug("Render on farm is disabled. "
"Skipping deadline submission.")
return
super(HoudiniSubmitDeadline, self).process(instance)
# TODO: Avoid the need for this logic here, needed for submit publish

View file

@ -92,7 +92,11 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin,
"prerender.farm", "prerender.frames_farm",
"renderlayer", "imagesequence",
"vrayscene", "maxrender",
"render.farm.hou"]
"mantra_rop",
"karma_rop",
"redshift_rop",
"arnold_rop",
"vray_rop"]
aov_filter = [
{