forked from LeenkxTeam/LNXSDK
Merge pull request 'Update get_scene function call' (#57) from Onek8/LNXSDK:main into main
Reviewed-on: LeenkxTeam/LNXSDK#57
This commit is contained in:
commit
98f334c883
@ -233,7 +233,7 @@ def build():
|
||||
wrd.compo_defs += '_CGrain'
|
||||
if rpdat.lnx_sharpen:
|
||||
wrd.compo_defs += '_CSharpen'
|
||||
if bpy.utils.get_active_scene().view_settings.exposure != 0.0:
|
||||
if lnx.utils.get_active_scene().view_settings.exposure != 0.0:
|
||||
wrd.compo_defs += '_CExposure'
|
||||
if rpdat.lnx_fog:
|
||||
wrd.compo_defs += '_CFog'
|
||||
|
@ -781,9 +781,9 @@ const vec3 compoLetterboxColor = vec3(""" + str(round(rpdat.lnx_letterbox_color[
|
||||
"""const float compoSharpenStrength = """ + str(round(rpdat.lnx_sharpen_strength * 100) / 100) + """;
|
||||
""")
|
||||
|
||||
if bpy.utils.get_active_scene().view_settings.exposure != 0.0:
|
||||
if lnx.utils.get_active_scene().view_settings.exposure != 0.0:
|
||||
f.write(
|
||||
"""const float compoExposureStrength = """ + str(round(bpy.utils.get_active_scene().view_settings.exposure * 100) / 100) + """;
|
||||
"""const float compoExposureStrength = """ + str(round(lnx.utils.get_active_scene().view_settings.exposure * 100) / 100) + """;
|
||||
""")
|
||||
|
||||
if rpdat.lnx_fog:
|
||||
|
Loading…
x
Reference in New Issue
Block a user