summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2015-10-19 17:48:49 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2015-10-19 17:48:49 +0300
commit647c3f71ca613fb8d3a2a64af7986e1f65a7188c (patch)
treeba334ea8e3e73612ea2887068bd60bd8e30c872a
parent3c26c54e2d467df917e34f21da81c019e9a6190f (diff)
MAINT-5268 FIXED Rotating an object that's used as grid reference goes crazy
Patchset #2
-rwxr-xr-xindra/newview/llmaniprotate.cpp3
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;
}