summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-03-30 17:37:19 -0400
committerOz Linden <oz@lindenlab.com>2011-03-30 17:37:19 -0400
commita71e0b1862cc184f40d0f893cc62b1e636d3b0a5 (patch)
tree5841eb481a1e791bd0cd11158660c91f3f9968c0 /indra/newview/llspeakbutton.cpp
parent45433246d4daebd8a849be9de947881026c5d095 (diff)
parentf633aef1af5a1a695df655080d3a20c033a31e18 (diff)
pull latest changes from viewer-development
Diffstat (limited to 'indra/newview/llspeakbutton.cpp')
-rw-r--r--indra/newview/llspeakbutton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.cpp b/indra/newview/llspeakbutton.cpp
index c76ecae4a2..d52e0a6c86 100644
--- a/indra/newview/llspeakbutton.cpp
+++ b/indra/newview/llspeakbutton.cpp
@@ -38,6 +38,7 @@
#include "llspeakbutton.h"
#include "llbottomtray.h"
+#include "llfirstuse.h"
static LLDefaultChildRegistry::Register<LLSpeakButton> t1("talk_button");
@@ -176,6 +177,7 @@ void LLSpeakButton::onMouseDown_SpeakBtn()
{
bool down = true;
LLVoiceClient::getInstance()->inputUserControlState(down); // this method knows/care about whether this translates into a toggle-to-talk or down-to-talk
+ LLFirstUse::speak(false);
}
void LLSpeakButton::onMouseUp_SpeakBtn()
{