adding removeAOVs in setting to allow users to choose whether keeping existing AOVs

This commit is contained in:
Kayla Man 2022-11-15 03:08:08 +08:00
parent 6190e6ba11
commit 1b00dec8de

View file

@ -185,7 +185,7 @@ class RenderSettings(object):
if enabled:
cmds.delete(aov)
# remove LightSelect
lightSelect_aovs =cmds.ls(type='VRayRenderElementSet')
lightSelect_aovs = cmds.ls(type='VRayRenderElementSet')
for light_aovs in lightSelect_aovs:
light_enabled = cmds.getAttr("{}.enabled".format(light_aovs))
if light_enabled: