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/llviewerobjectlist.cpp | |
parent | 0918958507c9140cca0f4026ecef210eac9aef3a (diff) |
SL-15999 - track --noninteractive state with gNonInteractive flag
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 9fe80b38d6..fbd44c198b 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -304,10 +304,9 @@ static LLTrace::BlockTimerStatHandle FTM_PROCESS_OBJECTS("Process Objects"); LLViewerObject* LLViewerObjectList::processObjectUpdateFromCache(LLVOCacheEntry* entry, LLViewerRegion* regionp) { - static LLCachedControl<bool> s_non_interactive(gSavedSettings, "NonInteractive", false); LLDataPacker *cached_dpp = entry->getDP(); - if (!cached_dpp || s_non_interactive) + if (!cached_dpp || gNonInteractive) { return NULL; //nothing cached. } |