Fix Hydra cursors in VR display

They weren't being drawn at the correct location an so weren't matching
up with location of voxel being added or deleted, for example.
This commit is contained in:
David Rowe 2014-11-28 10:01:15 -08:00
parent 8a86b2d239
commit 583e079d3a

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