summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-11-15 21:25:58 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-11-16 01:06:34 +0200
commit588f27970457ff54304a8e2e11b32516964c96b3 (patch)
treef1546bb07c6ea9cd1ed946568cbdbba0bb49329e /indra/newview
parentf9373a9b4ea6a1e22c69976303b5a15763bd994b (diff)
SL-16364 Removed the grid step cap for non-HUD objects
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llselectmgr.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index b0a566755f..7ed2d7ef62 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -1368,9 +1368,11 @@ void LLSelectMgr::getGrid(LLVector3& origin, LLQuaternion &rotation, LLVector3 &
}
break;
case SELECT_TYPE_HUD:
- case SELECT_TYPE_WORLD:
mGridScale = LLVector3(1.f, 1.f, 1.f) * llmin(gSavedSettings.getF32("GridResolution"), 0.5f);
break;
+ case SELECT_TYPE_WORLD:
+ mGridScale = LLVector3(1.f, 1.f, 1.f) * gSavedSettings.getF32("GridResolution");
+ break;
}
}
llassert(mGridOrigin.isFinite());