From e937f86822b7d4a7b2a1dc98c6c7816c0fde9db7 Mon Sep 17 00:00:00 2001 From: Eric Johnston Date: Mon, 15 Jul 2013 14:33:09 -0700 Subject: [PATCH] Build fail fix when Leap libs are not present. --- interface/src/LeapManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/LeapManager.cpp b/interface/src/LeapManager.cpp index e65c0f194e..fe47e527fa 100755 --- a/interface/src/LeapManager.cpp +++ b/interface/src/LeapManager.cpp @@ -91,7 +91,11 @@ void LeapManager::enableFakeFingers(bool enable) { } bool LeapManager::controllersExist() { +#ifdef LEAP_STUBS + return false; +#else return _listener && _controller && _controller->devices().count() > 0; +#endif } const std::vector& LeapManager::getFingerTips() {