EXP-1411 FIX "Speak" button enabled in regions with disabled voice
EXP-1424 FIX Floaters open on top of one another in default position with no offset floaters now stack with their own kind preferentiallymaster
parent
2bf9acabfb
commit
ea1c3218e2
|
|
@ -685,7 +685,12 @@ void LLFloater::openFloater(const LLSD& key)
|
|||
}
|
||||
else
|
||||
{
|
||||
applyControlsAndPosition(LLFloaterReg::getLastFloaterCascading());
|
||||
LLFloater* floater_to_stack = LLFloaterReg::getLastFloaterInGroup(mInstanceName);
|
||||
if (!floater_to_stack)
|
||||
{
|
||||
floater_to_stack = LLFloaterReg::getLastFloaterCascading();
|
||||
}
|
||||
applyControlsAndPosition(floater_to_stack);
|
||||
setMinimized(FALSE);
|
||||
setVisibleAndFrontmost(mAutoFocus);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ bool LLAgent::isActionAllowed(const LLSD& sdname)
|
|||
}
|
||||
else if (param == "speak")
|
||||
{
|
||||
if ( gAgent.isVoiceConnected() )
|
||||
if ( gAgent.isVoiceConnected() && LLViewerParcelMgr::getInstance()->allowAgentVoice() )
|
||||
{
|
||||
retval = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue