aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatergodtools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloatergodtools.cpp')
-rw-r--r--linden/indra/newview/llfloatergodtools.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatergodtools.cpp b/linden/indra/newview/llfloatergodtools.cpp
index b858003..27d4271 100644
--- a/linden/indra/newview/llfloatergodtools.cpp
+++ b/linden/indra/newview/llfloatergodtools.cpp
@@ -2,6 +2,8 @@
2 * @file llfloatergodtools.cpp 2 * @file llfloatergodtools.cpp
3 * @brief The on-screen rectangle with tool options. 3 * @brief The on-screen rectangle with tool options.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "llviewerprecompiledheaders.h" 32#include "llviewerprecompiledheaders.h"
@@ -1257,8 +1260,8 @@ void LLPanelObjectTools::onClickSetBySelection(void* data)
1257 LLPanelObjectTools* panelp = (LLPanelObjectTools*) data; 1260 LLPanelObjectTools* panelp = (LLPanelObjectTools*) data;
1258 if (!panelp) return; 1261 if (!panelp) return;
1259 1262
1260 LLSelectNode* node = gSelectMgr->getSelection()->getFirstRootNode(); 1263 const BOOL non_root_ok = TRUE;
1261 if (!node) node = gSelectMgr->getSelection()->getFirstNode(); 1264 LLSelectNode* node = gSelectMgr->getSelection()->getFirstRootNode(NULL, non_root_ok);
1262 if (!node) return; 1265 if (!node) return;
1263 1266
1264 LLString owner_name; 1267 LLString owner_name;