mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
add 'generic' family to collect farm instances and skip render if local publishing
This commit is contained in:
parent
078499dff8
commit
7aa80fb3c0
2 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,8 @@ class CollectFarmInstances(pyblish.api.InstancePlugin):
|
|||
"karma_rop",
|
||||
"redshift_rop",
|
||||
"arnold_rop",
|
||||
"vray_rop"]
|
||||
"vray_rop",
|
||||
"generic"]
|
||||
|
||||
hosts = ["houdini"]
|
||||
targets = ["local", "remote"]
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ class ExtractROP(publish.Extractor):
|
|||
}
|
||||
|
||||
# render rop
|
||||
creator_attribute = instance.data["creator_attributes"]
|
||||
if creator_attribute.get("render_target") == "local":
|
||||
ropnode = hou.node(instance.data.get("instance_node"))
|
||||
lib.render_rop(ropnode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue