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/llmaniptranslate.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/llmaniptranslate.cpp')
-rw-r--r-- | linden/indra/newview/llmaniptranslate.cpp | 2 |
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 | { |