aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/newview/llfloatertools.cpp3
-rw-r--r--linden/indra/newview/llviewermenu.cpp3
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 6c4cf5e..1e0f109 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -7,6 +7,12 @@
7 modified: linden/indra/newview/llviewermenu.cpp 7 modified: linden/indra/newview/llviewermenu.cpp
8 8
9 9
10 * Fixed unlink option enabling when selecting textures.
11
12 modified: linden/indra/newview/llfloatertools.cpp
13 modified: linden/indra/newview/llviewermenu.cpp
14
15
102009-09-08 McCabe Maxsted <hakushakukun@gmail.com> 162009-09-08 McCabe Maxsted <hakushakukun@gmail.com>
11 17
12 * Created my own version of Emerald's chat channel tool. 18 * Created my own version of Emerald's chat channel tool.
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;
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index efadf67..ddebd97 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -4205,7 +4205,8 @@ class LLToolsEnableUnlink : public view_listener_t
4205 LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject() && 4205 LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject() &&
4206 !LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject()->isAttachment()) 4206 !LLSelectMgr::getInstance()->getSelection()->getFirstEditableObject()->isAttachment())
4207 { 4207 {
4208 if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() != 4208 if (LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() > 0 &&
4209 LLSelectMgr::getInstance()->getSelection()->getRootObjectCount() !=
4209 LLSelectMgr::getInstance()->getSelection()->getObjectCount()) 4210 LLSelectMgr::getInstance()->getSelection()->getObjectCount())
4210 { 4211 {
4211 new_value = true; 4212 new_value = true;