BigRoy's comments

This commit is contained in:
MustafaJafar 2024-01-08 11:43:04 +02:00
parent 18e1f62ba2
commit 808a2b7031
2 changed files with 9 additions and 8 deletions

View file

@ -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)

View file

@ -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(