diff options
author | David Seikel | 2011-06-12 21:18:18 +1000 |
---|---|---|
committer | David Seikel | 2011-06-12 21:18:18 +1000 |
commit | 5c192c92bf02910d93956068017daa2b9e4b80ba (patch) | |
tree | 9c1bbbcfd6443e5b0df08bd212b3bd5027891e74 /linden/indra/newview/llmanipscale.cpp | |
parent | Rejig skins again. (diff) | |
parent | Updated app_settings/default_grids.xml from our online grid list. (diff) | |
download | meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.zip meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.gz meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.bz2 meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.xz |
Merge remote-tracking branch 'jacek/next' into next
Conflicts (manualy merged):
linden/indra/newview/app_settings/default_grids.xml
linden/indra/newview/primbackup.cpp
linden/indra/newview/skins/default/xui/en-us/floater_about.xml
linden/indra/newview/skins/default/xui/en-us/notifications.xml
InWorldz specific crap removed.
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; |