aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolselectrect.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/lltoolselectrect.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltoolselectrect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolselectrect.cpp b/linden/indra/newview/lltoolselectrect.cpp
index 6adca35..11cdf4b 100644
--- a/linden/indra/newview/lltoolselectrect.cpp
+++ b/linden/indra/newview/lltoolselectrect.cpp
@@ -106,11 +106,11 @@ BOOL LLToolSelectRect::handleMouseUp(S32 x, S32 y, MASK mask)
106 106
107 if (mask == MASK_CONTROL) 107 if (mask == MASK_CONTROL)
108 { 108 {
109 gSelectMgr->deselectHighlightedObjects(); 109 LLSelectMgr::getInstance()->deselectHighlightedObjects();
110 } 110 }
111 else 111 else
112 { 112 {
113 gSelectMgr->selectHighlightedObjects(); 113 LLSelectMgr::getInstance()->selectHighlightedObjects();
114 } 114 }
115 return TRUE; 115 return TRUE;
116 } 116 }
@@ -130,7 +130,7 @@ BOOL LLToolSelectRect::handleHover(S32 x, S32 y, MASK mask)
130 if (!mMouseOutsideSlop && !(mask & MASK_SHIFT) && !(mask & MASK_CONTROL)) 130 if (!mMouseOutsideSlop && !(mask & MASK_SHIFT) && !(mask & MASK_CONTROL))
131 { 131 {
132 // just started rect select, and not adding to current selection 132 // just started rect select, and not adding to current selection
133 gSelectMgr->deselectAll(); 133 LLSelectMgr::getInstance()->deselectAll();
134 } 134 }
135 mMouseOutsideSlop = TRUE; 135 mMouseOutsideSlop = TRUE;
136 mDragEndX = x; 136 mDragEndX = x;