diff options
| author | Oz Linden <oz@lindenlab.com> | 2015-10-12 15:24:56 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2015-10-12 15:24:56 -0400 |
| commit | d17614ca6121dde0ec917664796f263045ad5b6c (patch) | |
| tree | 79535b8ab5cfb38302aaa46dc0531ea5a67da9aa /indra/llplugin/llpluginclassmedia.cpp | |
| parent | 22e3e8461cf5a36754369c2648b1b4cd252a4d5c (diff) | |
| parent | 4312629e7c5749b86add9d42e6e550602f34dbf5 (diff) | |
merge changes for 3.8.5-release
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
| -rwxr-xr-x | indra/llplugin/llpluginclassmedia.cpp | 8 |
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"); |
