summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-09-12 14:47:50 +0300
committermaxim_productengine <mnikolenko@productengine.com>2012-09-12 14:47:50 +0300
commitd6ea682458aa882b34cb5219d96b1a7297339eb9 (patch)
tree20cd08e7d7c3491138c0786e6a70f5751622baa9 /indra
parent1c666b5f108129a5f64465639896caf0f67aec0d (diff)
MAINT-499 FIXED Don't call handleRightClickPick() in mouselook mode
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lltoolpie.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index 3cd761b73b..a0c12df834 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -125,9 +125,10 @@ BOOL LLToolPie::handleRightMouseDown(S32 x, S32 y, MASK mask)
mPick.mKeyMask = mask;
// claim not handled so UI focus stays same
-
- handleRightClickPick();
-
+ if(gAgentCamera.getCameraMode() != CAMERA_MODE_MOUSELOOK)
+ {
+ handleRightClickPick();
+ }
return FALSE;
}