aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatertools.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloatertools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloatertools.cpp b/linden/indra/newview/llfloatertools.cpp
index b63138f..d2a8040 100644
--- a/linden/indra/newview/llfloatertools.cpp
+++ b/linden/indra/newview/llfloatertools.cpp
@@ -693,7 +693,8 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask)
693 LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject() && 693 LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject() &&
694 !LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject()->isAttachment()) 694 !LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject()->isAttachment())
695 { 695 {
696 if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() != 696 if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() > 0 &&
697 LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() !=
697 LLSelectMgr::getInstance()->getSelection()->getObjectCount()) 698 LLSelectMgr::getInstance()->getSelection()->getObjectCount())
698 { 699 {
699 can_unlink = true; 700 can_unlink = true;