mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
BigRoy's comments
This commit is contained in:
parent
18e1f62ba2
commit
808a2b7031
2 changed files with 9 additions and 8 deletions
|
|
@ -80,14 +80,16 @@ class CreateRedshiftROP(plugin.HoudiniCreator):
|
|||
parms.update({
|
||||
"RS_renderCamera": camera or ""})
|
||||
|
||||
if pre_create_data.get("split_render"):
|
||||
rs_filepath = \
|
||||
"{export_dir}{subset_name}/{subset_name}.$F4.rs".format(
|
||||
export_dir=hou.text.expandString("$HIP/pyblish/rs/"),
|
||||
subset_name=subset_name,
|
||||
)
|
||||
rs_filepath = \
|
||||
"{export_dir}{subset_name}/{subset_name}.$F4.rs".format(
|
||||
export_dir=hou.text.expandString("$HIP/pyblish/rs/"),
|
||||
subset_name=subset_name,
|
||||
)
|
||||
parms["RS_archive_file"] = rs_filepath
|
||||
|
||||
if pre_create_data.get("split_render", self.split_render):
|
||||
parms["RS_archive_enable"] = 1
|
||||
parms["RS_archive_file"] = rs_filepath
|
||||
|
||||
|
||||
instance_node.setParms(parms)
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ class CollectRedshiftROPRenderProducts(pyblish.api.InstancePlugin):
|
|||
# Store whether we are splitting the render job (export + render)
|
||||
split_render = bool(rop.parm("RS_archive_enable").eval())
|
||||
instance.data["splitRender"] = split_render
|
||||
export_prefix = None
|
||||
export_products = []
|
||||
if split_render:
|
||||
export_prefix = evalParmNoFrame(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue