aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmanipscale.cpp
diff options
context:
space:
mode:
authorDavid Seikel2011-06-12 21:18:18 +1000
committerDavid Seikel2011-06-12 21:18:18 +1000
commit5c192c92bf02910d93956068017daa2b9e4b80ba (patch)
tree9c1bbbcfd6443e5b0df08bd212b3bd5027891e74 /linden/indra/newview/llmanipscale.cpp
parentRejig skins again. (diff)
parentUpdated app_settings/default_grids.xml from our online grid list. (diff)
downloadmeta-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.cpp4
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;