aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolfocus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolfocus.cpp')
-rw-r--r--linden/indra/newview/lltoolfocus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/lltoolfocus.cpp b/linden/indra/newview/lltoolfocus.cpp
index c526e6e..e5a3ed5 100644
--- a/linden/indra/newview/lltoolfocus.cpp
+++ b/linden/indra/newview/lltoolfocus.cpp
@@ -57,6 +57,7 @@
57#include "llmorphview.h" 57#include "llmorphview.h"
58 58
59// Globals 59// Globals
60BOOL gCameraBtnZoom = TRUE;
60BOOL gCameraBtnOrbit = FALSE; 61BOOL gCameraBtnOrbit = FALSE;
61BOOL gCameraBtnPan = FALSE; 62BOOL gCameraBtnPan = FALSE;
62 63
@@ -403,7 +404,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask)
403 } 404 }
404 lldebugst(LLERR_USER_INPUT) << "hover handled by LLToolPan" << llendl; 405 lldebugst(LLERR_USER_INPUT) << "hover handled by LLToolPan" << llendl;
405 } 406 }
406 else 407 else if (gCameraBtnZoom)
407 { 408 {
408 // Zoom tool 409 // Zoom tool
409 if (hasMouseCapture()) 410 if (hasMouseCapture())