Merge pull request #3874 from ctrlaltdavid/fix-hydra-vr-cursors

Fix Hydra cursors in VR display
This commit is contained in:
Brad Hefta-Gaub 2014-11-28 13:46:31 -08:00
commit 28091f5866

View file

@ -477,7 +477,8 @@ void SixenseManager::emulateMouse(PalmData* palm, int index) {
triggerButton = Qt::LeftButton;
}
if (Menu::getInstance()->isOptionChecked(MenuOption::SixenseLasers)) {
if (Menu::getInstance()->isOptionChecked(MenuOption::SixenseLasers)
|| Menu::getInstance()->isOptionChecked(MenuOption::EnableVRMode)) {
pos = application->getApplicationOverlay().getPalmClickLocation(palm);
} else {
// Get directon relative to avatar orientation