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/llviewermedia.cpp | |
parent | 0918958507c9140cca0f4026ecef210eac9aef3a (diff) |
SL-15999 - track --noninteractive state with gNonInteractive flag
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 82152a6cf5..8064e998f1 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -1687,7 +1687,7 @@ void LLViewerMediaImpl::setMediaType(const std::string& media_type) /*static*/ LLPluginClassMedia* LLViewerMediaImpl::newSourceFromMediaType(std::string media_type, LLPluginClassMediaOwner *owner /* may be NULL */, S32 default_width, S32 default_height, F64 zoom_factor, const std::string target, bool clean_browser) { - if (gSavedSettings.getBOOL("NonInteractive")) + if (gNonInteractive) { return NULL; } |