diff options
Diffstat (limited to 'indra/newview/llfloatergodtools.cpp')
-rw-r--r-- | indra/newview/llfloatergodtools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatergodtools.cpp b/indra/newview/llfloatergodtools.cpp index 6a56052e12..27d427115b 100644 --- a/indra/newview/llfloatergodtools.cpp +++ b/indra/newview/llfloatergodtools.cpp @@ -1260,8 +1260,8 @@ void LLPanelObjectTools::onClickSetBySelection(void* data) LLPanelObjectTools* panelp = (LLPanelObjectTools*) data; if (!panelp) return; - LLSelectNode* node = gSelectMgr->getSelection()->getFirstRootNode(); - if (!node) node = gSelectMgr->getSelection()->getFirstNode(); + const BOOL non_root_ok = TRUE; + LLSelectNode* node = gSelectMgr->getSelection()->getFirstRootNode(NULL, non_root_ok); if (!node) return; LLString owner_name; |