mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +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() {
|
bool LeapManager::controllersExist() {
|
||||||
|
#ifdef LEAP_STUBS
|
||||||
|
return false;
|
||||||
|
#else
|
||||||
return _listener && _controller && _controller->devices().count() > 0;
|
return _listener && _controller && _controller->devices().count() > 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::vector<glm::vec3>& LeapManager::getFingerTips() {
|
const std::vector<glm::vec3>& LeapManager::getFingerTips() {
|
||||||
|
|
Loading…
Reference in a new issue