aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmaniprotate.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-06-08 10:39:05 -0700
committerJacek Antonelli2011-06-09 23:12:15 -0500
commitfa16190ea2feb752c365599b14cd4bd6ba585853 (patch)
treea9ba633ecd1d003925510491e489199b156b1475 /linden/indra/newview/llmaniprotate.cpp
parentRemoved debug setting MaxSelectDistance... (diff)
downloadmeta-impy-fa16190ea2feb752c365599b14cd4bd6ba585853.zip
meta-impy-fa16190ea2feb752c365599b14cd4bd6ba585853.tar.gz
meta-impy-fa16190ea2feb752c365599b14cd4bd6ba585853.tar.bz2
meta-impy-fa16190ea2feb752c365599b14cd4bd6ba585853.tar.xz
Don't limit select distance when Disable Max Build Constraints is enabled
(cherry picked from commit c5ce8f27de70b81232aa8995dda80186eebe0247)
Diffstat (limited to 'linden/indra/newview/llmaniprotate.cpp')
-rw-r--r--linden/indra/newview/llmaniprotate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llmaniprotate.cpp b/linden/indra/newview/llmaniprotate.cpp
index b094328..77c8bd5 100644
--- a/linden/indra/newview/llmaniprotate.cpp
+++ b/linden/indra/newview/llmaniprotate.cpp
@@ -1126,7 +1126,7 @@ BOOL LLManipRotate::updateVisiblity()
1126 F32 z_dist = -1.f * (mCenterToCam * cameraAtAxis); 1126 F32 z_dist = -1.f * (mCenterToCam * cameraAtAxis);
1127 1127
1128 // Don't drag manip if object too far away 1128 // Don't drag manip if object too far away
1129 if (gSavedSettings.getBOOL("LimitSelectDistance")) 1129 if (!gSavedSettings.getBOOL("DisableMaxBuildConstraints") && gSavedSettings.getBOOL("LimitSelectDistance"))
1130 { 1130 {
1131 F32 max_select_distance = gHippoLimits->getMaxSelectDistance(); 1131 F32 max_select_distance = gHippoLimits->getMaxSelectDistance();
1132 if (dist_vec(gAgent.getPositionAgent(), center) > max_select_distance) 1132 if (dist_vec(gAgent.getPositionAgent(), center) > max_select_distance)