summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.cpp
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2011-04-01 23:37:30 +0000
committerDon Kjer <don@lindenlab.com>2011-04-01 23:37:30 +0000
commitd292053c04e6adfd48be0484dd5a8a07b48e0541 (patch)
treebb8814069df178e2bcae041f2c3e9b11338492db /indra/newview/llspeakbutton.cpp
parentf2bb81d17660054697ed984afc0e3f8d90f77eda (diff)
parent1664c9dc678f7aca9c2bbf38d28e00550e03c4dd (diff)
Merge with 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()
{