From f7fadaa807a0652df1da41ac69ab069273605965 Mon Sep 17 00:00:00 2001 From: Igor Borovkov Date: Fri, 18 Dec 2009 17:39:01 +0200 Subject: completed EXT-3545 Voice controls panel should auto-open on starting call w/o text chat --HG-- branch : product-engine --- indra/newview/llspeakbutton.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llspeakbutton.cpp') diff --git a/indra/newview/llspeakbutton.cpp b/indra/newview/llspeakbutton.cpp index 5edc4804ca..fd39bde118 100644 --- a/indra/newview/llspeakbutton.cpp +++ b/indra/newview/llspeakbutton.cpp @@ -119,6 +119,9 @@ LLSpeakButton::LLSpeakButton(const Params& p) // never show "muted" because you can't mute yourself mOutputMonitor->setIsMuted(false); mOutputMonitor->setIsAgentControl(true); + + //*TODO find a better place to do that + LLVoiceChannel::setCurrentVoiceChannelChangedCallback(boost::bind(&LLCallFloater::sOnCurrentChannelChanged, _1)); } LLSpeakButton::~LLSpeakButton() -- cgit v1.2.3