diff options
Diffstat (limited to 'indra/newview/lltoolindividual.cpp')
-rw-r--r-- | indra/newview/lltoolindividual.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/lltoolindividual.cpp b/indra/newview/lltoolindividual.cpp index 24bac8a7fe..3ec6b7d4d3 100644 --- a/indra/newview/lltoolindividual.cpp +++ b/indra/newview/lltoolindividual.cpp @@ -108,11 +108,8 @@ BOOL LLToolIndividual::handleDoubleClick(S32 x, S32 y, MASK mask) void LLToolIndividual::handleSelect() { - LLViewerObject* obj = gSelectMgr->getSelection()->getFirstRootObject(); - if(!obj) - { - obj = gSelectMgr->getSelection()->getFirstObject(); - } + const BOOL children_ok = TRUE; + LLViewerObject* obj = gSelectMgr->getSelection()->getFirstRootObject(children_ok); gSelectMgr->deselectAll(); if(obj) { |