diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-09-20 13:19:20 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-09-20 13:19:20 +0100 |
commit | c10d601ce8d2a6ca7e354772a217a998cd9865b3 (patch) | |
tree | 7354113b30b20c879dec9f308c2d2c79224be31e /indra/newview/pipeline.cpp | |
parent | 0918958507c9140cca0f4026ecef210eac9aef3a (diff) |
SL-15999 - track --noninteractive state with gNonInteractive flag
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 43ae0c2e76..30703426ce 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1158,8 +1158,7 @@ void LLPipeline::refreshCachedSettings() RenderSpotLight = nullptr; updateRenderDeferred(); - bool non_interactive = gSavedSettings.getBOOL("NonInteractive"); - if (non_interactive) + if (gNonInteractive) { LLVOAvatar::sMaxNonImpostors = 1; LLVOAvatar::updateImpostorRendering(LLVOAvatar::sMaxNonImpostors); |