diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-26 16:31:36 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-26 16:31:36 +0200 |
commit | 58835c4b230cd6524a4f4a9f8d95a37359837811 (patch) | |
tree | b7323c5b5b53fe2aa3ffc0f2d7da902b33de141d /indra/newview | |
parent | 1b21cc8ffb4eb085fe0294796afbeb0c34bac588 (diff) |
SL-14396 FIXED Sizing increment units ignored for HUDs.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 50884762a8..5bbdeb1f98 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -1368,11 +1368,8 @@ void LLSelectMgr::getGrid(LLVector3& origin, LLQuaternion &rotation, LLVector3 & } break; case SELECT_TYPE_HUD: - // use HUD-scaled grid - mGridScale = LLVector3(0.25f, 0.25f, 0.25f); - break; case SELECT_TYPE_WORLD: - mGridScale = LLVector3(1.f, 1.f, 1.f) * gSavedSettings.getF32("GridResolution"); + mGridScale = LLVector3(1.f, 1.f, 1.f) * llmin(gSavedSettings.getF32("GridResolution"), 0.5f); break; } } |