aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmaniptranslate.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/llmaniptranslate.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/llmaniptranslate.cpp')
-rw-r--r--linden/indra/newview/llmaniptranslate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llmaniptranslate.cpp b/linden/indra/newview/llmaniptranslate.cpp
index c113446..53578ca 100644
--- a/linden/indra/newview/llmaniptranslate.cpp
+++ b/linden/indra/newview/llmaniptranslate.cpp
@@ -1821,7 +1821,7 @@ void LLManipTranslate::renderTranslationHandles()
1821 F32 range_from_agent = dist_vec(gAgent.getPositionAgent(), selection_center); 1821 F32 range_from_agent = dist_vec(gAgent.getPositionAgent(), selection_center);
1822 1822
1823 // Don't draw handles if you're too far away 1823 // Don't draw handles if you're too far away
1824 if (gSavedSettings.getBOOL("LimitSelectDistance")) 1824 if (!gSavedSettings.getBOOL("DisableMaxBuildConstraints") && gSavedSettings.getBOOL("LimitSelectDistance"))
1825 { 1825 {
1826 if (range_from_agent > gHippoLimits->getMaxSelectDistance()) 1826 if (range_from_agent > gHippoLimits->getMaxSelectDistance())
1827 { 1827 {