diff options
author | McCabe Maxsted | 2011-06-08 10:39:05 -0700 |
---|---|---|
committer | Jacek Antonelli | 2011-06-09 23:12:15 -0500 |
commit | fa16190ea2feb752c365599b14cd4bd6ba585853 (patch) | |
tree | a9ba633ecd1d003925510491e489199b156b1475 /linden/indra/newview/llmaniprotate.cpp | |
parent | Removed debug setting MaxSelectDistance... (diff) | |
download | meta-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.cpp | 2 |
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) |