From 7ed5235ed9cc5ecab6ef9b7d9bff63ed8bed7e7b Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 14 Dec 2013 15:42:06 +0100 Subject: [PATCH] Fix LLCachedControl ctor for original Linden Lab code --- indra/newview/llleapmotioncontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llleapmotioncontroller.cpp b/indra/newview/llleapmotioncontroller.cpp index edefc92c58..624532b407 100644 --- a/indra/newview/llleapmotioncontroller.cpp +++ b/indra/newview/llleapmotioncontroller.cpp @@ -156,7 +156,7 @@ void LLLMImpl::stepFrame() const Leap::Frame frame = mLMController->frame(); Leap::HandList hands = frame.hands(); - static LLCachedControl sControllerMode(gSavedSettings, "LeapMotionTestMode"); + static LLCachedControl sControllerMode(gSavedSettings, "LeapMotionTestMode", 0); switch (sControllerMode) {