[Voice Update] LLPanelVoiceEffect added to LLFloaterActiveSpeakers
Comments out xml menu entry for LLFloaterVoiceEffect access from LLPanelVoiceEffect is the intended method TODO: Once Shyotl's new layout stack code comes in, make LLFloaterActiveSpeakers into a vertical stack so we can properly hide LLPanelVoiceEffect upon a debug setting.
This commit is contained in:
@@ -34,12 +34,22 @@
|
||||
#include "llfloateractivespeakers.h"
|
||||
|
||||
#include "llparticipantlist.h"
|
||||
#include "llpanelvoiceeffect.h"
|
||||
#include "llspeakers.h"
|
||||
#include "lluictrlfactory.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
void* createEffectPanel(void*)
|
||||
{
|
||||
return new LLPanelVoiceEffect;
|
||||
}
|
||||
}
|
||||
|
||||
LLFloaterActiveSpeakers::LLFloaterActiveSpeakers(const LLSD& seed) : mPanel(NULL)
|
||||
{
|
||||
mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, NULL);
|
||||
mFactoryMap["panel_voice_effect"] = LLCallbackMap(createEffectPanel, NULL);
|
||||
// do not automatically open singleton floaters (as result of getInstance())
|
||||
BOOL no_open = FALSE;
|
||||
LLUICtrlFactory::getInstance()->buildFloater(this, "floater_active_speakers.xml", &getFactoryMap(), no_open);
|
||||
|
||||
Reference in New Issue
Block a user