CID-210
Checker: REVERSE_INULL Function: LLFloaterGodTools::processRegionInfo(LLMessageSystem *) File: /indra/newview/llfloatergodtools.cppmeow-7.2.2
parent
ed116da131
commit
38036b8412
|
|
@ -213,6 +213,9 @@ void LLFloaterGodTools::showPanel(const std::string& panel_name)
|
|||
// static
|
||||
void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
|
||||
{
|
||||
llassert(msg);
|
||||
if (!msg) return;
|
||||
|
||||
LLHost host = msg->getSender();
|
||||
if (host != gAgent.getRegionHost())
|
||||
{
|
||||
|
|
@ -270,8 +273,7 @@ void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
|
|||
if ( gAgent.isGodlike()
|
||||
&& LLFloaterReg::instanceVisible("god_tools")
|
||||
&& god_tools->mPanelRegionTools
|
||||
&& god_tools->mPanelObjectTools
|
||||
&& msg )
|
||||
&& god_tools->mPanelObjectTools)
|
||||
{
|
||||
LLPanelRegionTools* rtool = god_tools->mPanelRegionTools;
|
||||
god_tools->mCurrentHost = host;
|
||||
|
|
|
|||
Loading…
Reference in New Issue