From 967cec4e5ddf168ecb58da3d244a49fa6a28d808 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Wed, 9 Sep 2009 17:18:15 -0700 Subject: Fixed unlink option enabling when selecting textures --- linden/indra/newview/llfloatertools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview/llfloatertools.cpp') 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) LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject() && !LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject()->isAttachment()) { - if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() != + if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() > 0 && + LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() != LLSelectMgr::getInstance()->getSelection()->getObjectCount()) { can_unlink = true; -- cgit v1.1