summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-01-05 13:23:34 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-01-05 13:23:34 +0200
commit77156c2b15d86a15753ca00955ab5f29a9128eda (patch)
tree2b88347fe82bd4567997c815d9e27076b9bb4f2c /indra/newview/llagentcamera.cpp
parent2c19692c76306d794384d1e9a5c50eead3df0c0b (diff)
MAINT-1392 HUD objects Behave Badly in conjunction with the Mouse Scroll Wheel
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rwxr-xr-xindra/newview/llagentcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index aed27924fe..fa16f02c16 100755
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -879,7 +879,7 @@ void LLAgentCamera::cameraZoomIn(const F32 fraction)
}
LLObjectSelectionHandle selection = LLSelectMgr::getInstance()->getSelection();
- if (selection->getObjectCount() && selection->getSelectType() == SELECT_TYPE_HUD)
+ if (LLToolMgr::getInstance()->inBuildMode() && selection->getObjectCount() && selection->getSelectType() == SELECT_TYPE_HUD)
{
// just update hud zoom level
mHUDTargetZoom /= fraction;