summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginclassmedia.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-07-23 19:15:07 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-07-23 19:15:07 +0300
commit1d3c59f29c2845ae326830b75f5da5e96ca46139 (patch)
treee11f85b72f80ebc144133a4b7b91f4d84ee942c8 /indra/llplugin/llpluginclassmedia.cpp
parent57904b4def8c75a865ba503976de98d9ee4c0d94 (diff)
MAINT-5398 FIXED [BetaBreakers] TOS additional policy links cannot be scrolled or closed once opened
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
-rwxr-xr-xindra/llplugin/llpluginclassmedia.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index 52626b0302..4bfd0de81e 100755
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -146,6 +146,8 @@ void LLPluginClassMedia::reset()
mClickTarget.clear();
mClickUUID.clear();
mStatusCode = 0;
+
+ mClickEnforceTarget = false;
// media_time class
mCurrentTime = 0.0f;
@@ -1358,6 +1360,12 @@ void LLPluginClassMedia::addCertificateFilePath(const std::string& path)
sendMessage(message);
}
+void LLPluginClassMedia::setOverrideClickTarget(const std::string &target)
+{
+ mClickEnforceTarget = true;
+ mOverrideClickTarget = target;
+}
+
void LLPluginClassMedia::crashPlugin()
{
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_INTERNAL, "crash");