diff options
Diffstat (limited to 'linden/indra/newview/llmanipscale.cpp')
-rw-r--r-- | linden/indra/newview/llmanipscale.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llmanipscale.cpp b/linden/indra/newview/llmanipscale.cpp index 0c79a35..fe6bc26 100644 --- a/linden/indra/newview/llmanipscale.cpp +++ b/linden/indra/newview/llmanipscale.cpp | |||
@@ -236,9 +236,9 @@ void LLManipScale::render() | |||
236 | range_from_agent = dist_vec(gAgent.getPositionAgent(), center_agent); | 236 | range_from_agent = dist_vec(gAgent.getPositionAgent(), center_agent); |
237 | 237 | ||
238 | // Don't draw manip if object too far away | 238 | // Don't draw manip if object too far away |
239 | if (gSavedSettings.getBOOL("LimitSelectDistance")) | 239 | if (!gSavedSettings.getBOOL("DisableMaxBuildConstraints") && gSavedSettings.getBOOL("LimitSelectDistance")) |
240 | { | 240 | { |
241 | F32 max_select_distance = gSavedSettings.getF32("MaxSelectDistance"); | 241 | F32 max_select_distance = gHippoLimits->getMaxSelectDistance(); |
242 | if (range_from_agent > max_select_distance) | 242 | if (range_from_agent > max_select_distance) |
243 | { | 243 | { |
244 | return; | 244 | return; |