diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2015-10-19 17:48:49 +0300 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2015-10-19 17:48:49 +0300 |
commit | 647c3f71ca613fb8d3a2a64af7986e1f65a7188c (patch) | |
tree | ba334ea8e3e73612ea2887068bd60bd8e30c872a /indra | |
parent | 3c26c54e2d467df917e34f21da81c019e9a6190f (diff) |
MAINT-5268 FIXED Rotating an object that's used as grid reference goes crazy
Patchset #2
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llmaniprotate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmaniprotate.cpp b/indra/newview/llmaniprotate.cpp index bc0cfa73d6..ed40483029 100755 --- a/indra/newview/llmaniprotate.cpp +++ b/indra/newview/llmaniprotate.cpp @@ -749,7 +749,8 @@ void LLManipRotate::renderActiveRing( F32 radius, F32 width, const LLColor4& fro void LLManipRotate::renderSnapGuides() { - if (!gSavedSettings.getBOOL("SnapEnabled")) + static LLCachedControl<bool> snap_enabled(gSavedSettings, "SnapEnabled", true); + if (!snap_enabled) { return; } |