aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatergodtools.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llfloatergodtools.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloatergodtools.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloatergodtools.cpp b/linden/indra/newview/llfloatergodtools.cpp
index d2ce3fd..e1d12d2 100644
--- a/linden/indra/newview/llfloatergodtools.cpp
+++ b/linden/indra/newview/llfloatergodtools.cpp
@@ -86,7 +86,7 @@ LLFloaterGodTools* LLFloaterGodTools::instance()
86 if (!sGodTools) 86 if (!sGodTools)
87 { 87 {
88 sGodTools = new LLFloaterGodTools(); 88 sGodTools = new LLFloaterGodTools();
89 sGodTools->open(); 89 sGodTools->open(); /*Flawfinder: ignore*/
90 sGodTools->center(); 90 sGodTools->center();
91 sGodTools->setFocus(TRUE); 91 sGodTools->setFocus(TRUE);
92 } 92 }
@@ -223,7 +223,7 @@ void LLFloaterGodTools::show(void *)
223void LLFloaterGodTools::showPanel(const LLString& panel_name) 223void LLFloaterGodTools::showPanel(const LLString& panel_name)
224{ 224{
225 childShowTab("GodTools Tabs", panel_name); 225 childShowTab("GodTools Tabs", panel_name);
226 open(); 226 open(); /*Flawfinder: ignore*/
227 LLPanel *panel = childGetVisibleTab("GodTools Tabs"); 227 LLPanel *panel = childGetVisibleTab("GodTools Tabs");
228 if (panel) panel->setFocus(TRUE); 228 if (panel) panel->setFocus(TRUE);
229} 229}
@@ -254,7 +254,7 @@ void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
254 U32 region_flags; 254 U32 region_flags;
255 U8 sim_access; 255 U8 sim_access;
256 U8 agent_limit; 256 U8 agent_limit;
257 char sim_name[MAX_STRING]; 257 char sim_name[MAX_STRING]; /*Flawfinder: ignore*/
258 U32 estate_id; 258 U32 estate_id;
259 U32 parent_estate_id; 259 U32 parent_estate_id;
260 F32 water_height; 260 F32 water_height;
@@ -990,7 +990,7 @@ void LLPanelGridTools::flushMapVisibilityCachesConfirm(S32 option, void* data)
990 msg->addString("Method", "refreshmapvisibility"); 990 msg->addString("Method", "refreshmapvisibility");
991 msg->addUUID("Invoice", LLUUID::null); 991 msg->addUUID("Invoice", LLUUID::null);
992 msg->nextBlock("ParamList"); 992 msg->nextBlock("ParamList");
993 msg->addString("Parameter", gAgent.getID().getString()); 993 msg->addString("Parameter", gAgent.getID().asString());
994 gAgent.sendReliableMessage(); 994 gAgent.sendReliableMessage();
995} 995}
996 996
@@ -1256,8 +1256,8 @@ void LLPanelObjectTools::onClickSetBySelection(void* data)
1256 LLPanelObjectTools* panelp = (LLPanelObjectTools*) data; 1256 LLPanelObjectTools* panelp = (LLPanelObjectTools*) data;
1257 if (!panelp) return; 1257 if (!panelp) return;
1258 1258
1259 LLSelectNode* node = gSelectMgr->getFirstRootNode(); 1259 LLSelectNode* node = gSelectMgr->getSelection()->getFirstRootNode();
1260 if (!node) node = gSelectMgr->getFirstNode(); 1260 if (!node) node = gSelectMgr->getSelection()->getFirstNode();
1261 if (!node) return; 1261 if (!node) return;
1262 1262
1263 LLString owner_name; 1263 LLString owner_name;