diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-12 17:06:07 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-12 17:06:07 -0500 |
commit | 1259e05edcef4d1e23b38c9ca06b4ecd3f858781 (patch) | |
tree | 24921222ecc3250c29c64ad7c512d73066ad9e30 /indra/newview/llviewercontrol.cpp | |
parent | 6cbe04a1fb7ce5704c8a16f05a21940a134d6d4c (diff) |
SH-157 Make RenderShaderLightingMaxLevel automatically reload shaders.
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r-- | indra/newview/llviewercontrol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 3e716368fb..52c3a73bb4 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -538,6 +538,7 @@ void settings_setup_listeners() gSavedSettings.getControl("RenderAnimateTrees")->getSignal()->connect(boost::bind(&handleResetVertexBuffersChanged, _2)); gSavedSettings.getControl("RenderBakeSunlight")->getSignal()->connect(boost::bind(&handleResetVertexBuffersChanged, _2)); gSavedSettings.getControl("RenderNoAlpha")->getSignal()->connect(boost::bind(&handleResetVertexBuffersChanged, _2)); + gSavedSettings.getControl("RenderShaderLightingMaxLevel")->getSignal()->connect(boost::bind(&handleSetShaderChanged, _2)); gSavedSettings.getControl("RenderAvatarVP")->getSignal()->connect(boost::bind(&handleSetShaderChanged, _2)); gSavedSettings.getControl("RenderPerformanceTest")->getSignal()->connect(boost::bind(&handleRenderPerfTestChanged, _2)); gSavedSettings.getControl("VertexShaderEnable")->getSignal()->connect(boost::bind(&handleSetShaderChanged, _2)); |