mirror of
https://github.com/lubosz/overte.git
synced 2025-08-05 12:24:39 +02:00
Merge pull request #3509 from birarda/hydra-crash
have OS X hydra support be disabled by default
This commit is contained in:
commit
a2d263f978
2 changed files with 3 additions and 1 deletions
|
@ -434,7 +434,7 @@ Menu::Menu() :
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
addCheckableActionToQMenuAndActionHash(sixenseOptionsMenu,
|
addCheckableActionToQMenuAndActionHash(sixenseOptionsMenu,
|
||||||
MenuOption::SixenseEnabled,
|
MenuOption::SixenseEnabled,
|
||||||
0, true,
|
0, false,
|
||||||
this,
|
this,
|
||||||
SLOT(toggleSixense(bool)));
|
SLOT(toggleSixense(bool)));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -100,6 +100,8 @@ void SixenseManager::initialize() {
|
||||||
_sixenseLibrary = new QLibrary(SIXENSE_LIBRARY_NAME);
|
_sixenseLibrary = new QLibrary(SIXENSE_LIBRARY_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qDebug() << "Initializing sixense library for hydra support - libsixense_x64.dylib load state is"
|
||||||
|
<< _sixenseLibrary->isLoaded();
|
||||||
SixenseBaseFunction sixenseInit = (SixenseBaseFunction) _sixenseLibrary->resolve("sixenseInit");
|
SixenseBaseFunction sixenseInit = (SixenseBaseFunction) _sixenseLibrary->resolve("sixenseInit");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue