aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolmgr.h')
-rw-r--r--linden/indra/newview/lltoolmgr.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolmgr.h b/linden/indra/newview/lltoolmgr.h
index c193be3..10affff 100644
--- a/linden/indra/newview/lltoolmgr.h
+++ b/linden/indra/newview/lltoolmgr.h
@@ -45,7 +45,7 @@ const MASK MASK_ORBIT = MASK_CONTROL;
45const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT; 45const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT;
46const MASK MASK_COPY = MASK_SHIFT; 46const MASK MASK_COPY = MASK_SHIFT;
47 47
48class LLToolMgr 48class LLToolMgr : public LLSingleton<LLToolMgr>
49{ 49{
50public: 50public:
51 LLToolMgr(); 51 LLToolMgr();
@@ -58,6 +58,9 @@ public:
58 LLTool* getBaseTool(); // returns active tool when overrides are deactivated 58 LLTool* getBaseTool(); // returns active tool when overrides are deactivated
59 59
60 BOOL inEdit(); 60 BOOL inEdit();
61
62 /* Determines if we are in Build mode or not. */
63 bool inBuildMode();
61 64
62 void setTransientTool(LLTool* tool); 65 void setTransientTool(LLTool* tool);
63 void clearTransientTool(); 66 void clearTransientTool();
@@ -115,8 +118,7 @@ protected:
115void select_tool(void *tool); 118void select_tool(void *tool);
116 119
117 120
118// Globals (created and destroyed by LLViewerWindow) 121// Globals
119extern LLToolMgr* gToolMgr;
120 122
121extern LLToolset* gBasicToolset; 123extern LLToolset* gBasicToolset;
122extern LLToolset *gCameraToolset; 124extern LLToolset *gCameraToolset;