t3du - Fix scene exposure setting

This commit is contained in:
Onek8 2025-05-28 23:02:14 +00:00
parent a70d0bd601
commit fff8b5c29e

View File

@ -233,7 +233,7 @@ def build():
wrd.compo_defs += '_CGrain'
if rpdat.lnx_sharpen:
wrd.compo_defs += '_CSharpen'
if bpy.data.scenes[0].view_settings.exposure != 0.0:
if bpy.utils.get_active_scene().view_settings.exposure != 0.0:
wrd.compo_defs += '_CExposure'
if rpdat.lnx_fog:
wrd.compo_defs += '_CFog'