set the correct path for filters, image ouptut and image directory

This commit is contained in:
Kayla Man 2022-11-29 15:40:56 +08:00
parent 6e3c75f0f0
commit 8b5a7c4061

View file

@ -105,8 +105,9 @@ class RenderSettings(object):
if renderer == "renderman":
image_dir = self._image_dir["renderman"]
cmds.setAttr("rmanGlobals.imageOutputDir", image_dir,
type= "string")
rman_image_dir_attr = "rmanGlobals.imageOutputDir"
cmds.setAttr(rman_image_dir_attr,
image_dir,type= "string")
self._set_renderman_settings(width, height)
def _set_arnold_settings(self, width, height):