diff options
Diffstat (limited to 'linden/indra/newview/lltoolmgr.h')
-rw-r--r-- | linden/indra/newview/lltoolmgr.h | 8 |
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; | |||
45 | const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT; | 45 | const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT; |
46 | const MASK MASK_COPY = MASK_SHIFT; | 46 | const MASK MASK_COPY = MASK_SHIFT; |
47 | 47 | ||
48 | class LLToolMgr | 48 | class LLToolMgr : public LLSingleton<LLToolMgr> |
49 | { | 49 | { |
50 | public: | 50 | public: |
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: | |||
115 | void select_tool(void *tool); | 118 | void select_tool(void *tool); |
116 | 119 | ||
117 | 120 | ||
118 | // Globals (created and destroyed by LLViewerWindow) | 121 | // Globals |
119 | extern LLToolMgr* gToolMgr; | ||
120 | 122 | ||
121 | extern LLToolset* gBasicToolset; | 123 | extern LLToolset* gBasicToolset; |
122 | extern LLToolset *gCameraToolset; | 124 | extern LLToolset *gCameraToolset; |