Don't create places floater if it's not needed

meow-7.2.2
Ansariel 2016-11-22 21:31:41 +01:00
parent 954b50b3b6
commit d7fa832452
1 changed files with 4 additions and 1 deletions

View File

@ -9660,7 +9660,10 @@ void process_covenant_reply(LLMessageSystem* msg, void**)
LLPanelEstateInfo::updateEstateOwnerName(owner_name);
LLFloaterBuyLand::updateEstateOwnerName(owner_name);
LLPanelPlaceProfile* panel = LLFloaterSidePanelContainer::getPanel<LLPanelPlaceProfile>("places", "panel_place_profile");
// <FS:Ansariel> Don't create places floater if we don't need it
//LLPanelPlaceProfile* panel = LLFloaterSidePanelContainer::getPanel<LLPanelPlaceProfile>("places", "panel_place_profile");
LLPanelPlaceProfile* panel = LLFloaterSidePanelContainer::findPanel<LLPanelPlaceProfile>("places", "panel_place_profile");
// </FS:Ansariel>
if (panel)
{
panel->updateEstateName(estate_name);