mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Remove seemingly unnecessary coordinate space conversion.
This commit is contained in:
parent
65ec02044e
commit
89ef026ce8
1 changed files with 2 additions and 3 deletions
|
@ -902,9 +902,8 @@ void Application::idle() {
|
|||
|
||||
// Update from Mouse
|
||||
if (_mouseLook->isChecked()) {
|
||||
QPoint mouse(_mouseX, _mouseY);
|
||||
_myAvatar.updateFromMouse(_glWidget->mapFromGlobal(mouse).x(),
|
||||
_glWidget->mapFromGlobal(mouse).y(),
|
||||
_myAvatar.updateFromMouse(_mouseX,
|
||||
_mouseY,
|
||||
_glWidget->width(),
|
||||
_glWidget->height());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue