summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltoolmgr.h')
-rw-r--r--indra/newview/lltoolmgr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/lltoolmgr.h b/indra/newview/lltoolmgr.h
index c1e144b252..73b8a38c57 100644
--- a/indra/newview/lltoolmgr.h
+++ b/indra/newview/lltoolmgr.h
@@ -45,7 +45,7 @@ const MASK MASK_ORBIT = MASK_CONTROL;
const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT;
const MASK MASK_COPY = MASK_SHIFT;
-class LLToolMgr
+class LLToolMgr : public LLSingleton<LLToolMgr>
{
public:
LLToolMgr();
@@ -115,8 +115,7 @@ protected:
void select_tool(void *tool);
-// Globals (created and destroyed by LLViewerWindow)
-extern LLToolMgr* gToolMgr;
+// Globals
extern LLToolset* gBasicToolset;
extern LLToolset *gCameraToolset;