summaryrefslogtreecommitdiff
path: root/indra/newview/llmediactrl.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-05-12 20:01:20 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-05-12 20:01:20 +0300
commitb36458a98fb3aeb63d2aca5e3249c7aa508192c8 (patch)
tree34b4d349814cc52d38fc45e0d06bf478aa06fa0e /indra/newview/llmediactrl.cpp
parent7fb4b417ce2048305eab6f1dbf51276697a94ff1 (diff)
MAINT-1734 FIXED Avatar chooser panel is empty the session after an avatar is chosen.
Diffstat (limited to 'indra/newview/llmediactrl.cpp')
-rwxr-xr-xindra/newview/llmediactrl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp
index 323445afa6..5490605c1b 100755
--- a/indra/newview/llmediactrl.cpp
+++ b/indra/newview/llmediactrl.cpp
@@ -504,6 +504,16 @@ void LLMediaCtrl::navigateForward()
////////////////////////////////////////////////////////////////////////////////
//
+void LLMediaCtrl::navigateStop()
+{
+ if (mMediaSource && mMediaSource->hasMedia())
+ {
+ mMediaSource->getMediaPlugin()->browse_stop();
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+//
bool LLMediaCtrl::canNavigateBack()
{
if (mMediaSource)