summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-20 13:19:20 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-20 13:19:20 +0100
commitc10d601ce8d2a6ca7e354772a217a998cd9865b3 (patch)
tree7354113b30b20c879dec9f308c2d2c79224be31e /indra/newview/llviewermedia.cpp
parent0918958507c9140cca0f4026ecef210eac9aef3a (diff)
SL-15999 - track --noninteractive state with gNonInteractive flag
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp2
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;
}