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

This commit is contained in:
Kayla Man 2022-11-29 15:44:01 +08:00
parent f63c28fd5b
commit 7e65eb2401

View file

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