mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Merge pull request #671 from machinelevel/dev4
Build fail fix when Leap libs are not present.
This commit is contained in:
commit
e8f7d32ec5
1 changed files with 4 additions and 0 deletions
|
@ -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<glm::vec3>& LeapManager::getFingerTips() {
|
||||
|
|
Loading…
Reference in a new issue