From 647c3f71ca613fb8d3a2a64af7986e1f65a7188c Mon Sep 17 00:00:00 2001 From: ruslantproductengine Date: Mon, 19 Oct 2015 17:48:49 +0300 Subject: MAINT-5268 FIXED Rotating an object that's used as grid reference goes crazy Patchset #2 --- indra/newview/llmaniprotate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview') 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 snap_enabled(gSavedSettings, "SnapEnabled", true); + if (!snap_enabled) { return; } -- cgit v1.2.3