Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -1265,8 +1265,7 @@ void Application::initializeUi() { · 1264 unmodified lines | ||
| 1265 | 1265 | auto displayPlugin = getActiveDisplayPlugin(); |
| 1266 | 1266 | if (displayPlugin->isHmd()) { |
| 1267 | 1267 | _compositor.handleRealMouseMoveEvent(false); |
| 1268 | − auto fakeScreen = _compositor.getReticlePosition(); | |
| 1269 | − auto resultVec = _compositor.screenToOverlay(fakeScreen); // toGlm(pt)); | |
| 1268 | + auto resultVec = _compositor.getReticlePosition(); | |
| 1270 | 1269 | result = QPointF(resultVec.x, resultVec.y); |
| 1271 | 1270 | } |
| 1272 | 1271 | return result.toPoint(); |
| @@ -2579,7 +2578,7 @@ void Application::setLowVelocityFilter(bool lowVelocityFilter) { · 1306 unmodified lines | ||
| 2579 | 2578 | |
| 2580 | 2579 | ivec2 Application::getMouse() { |
| 2581 | 2580 | if (isHMDMode()) { |
| 2582 | − return _compositor.screenToOverlay(getTrueMouse()); | |
| 2581 | + return getTrueMouse(); // FIXME | |
| 2583 | 2582 | } |
| 2584 | 2583 | return getTrueMouse(); |
| 2585 | 2584 | } |