diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lltoolview.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/lltoolview.cpp')
-rw-r--r-- | linden/indra/newview/lltoolview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolview.cpp b/linden/indra/newview/lltoolview.cpp index 5b80339..fa8d65b 100644 --- a/linden/indra/newview/lltoolview.cpp +++ b/linden/indra/newview/lltoolview.cpp | |||
@@ -148,7 +148,7 @@ void LLToolView::draw() | |||
148 | { | 148 | { |
149 | // turn off highlighting for all containers | 149 | // turn off highlighting for all containers |
150 | // and hide all option panels except for the selected one. | 150 | // and hide all option panels except for the selected one. |
151 | LLTool* selected = gCurrentToolset->getSelectedTool(); | 151 | LLTool* selected = gToolMgr->getCurrentToolset()->getSelectedTool(); |
152 | for( LLToolContainer* contain = mContainList.getFirstData(); | 152 | for( LLToolContainer* contain = mContainList.getFirstData(); |
153 | contain != NULL; | 153 | contain != NULL; |
154 | contain = mContainList.getNextData() | 154 | contain = mContainList.getNextData() |
@@ -188,7 +188,6 @@ void LLToolView::onClickToolButton(void* userdata) | |||
188 | LLToolContainer* clicked = (LLToolContainer*) userdata; | 188 | LLToolContainer* clicked = (LLToolContainer*) userdata; |
189 | 189 | ||
190 | // Switch to this one | 190 | // Switch to this one |
191 | gCurrentToolset->selectTool( clicked->mTool ); | 191 | gToolMgr->getCurrentToolset()->selectTool( clicked->mTool ); |
192 | gToolMgr->useSelectedTool( gCurrentToolset ); | ||
193 | } | 192 | } |
194 | 193 | ||