mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +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
|
// Update from Mouse
|
||||||
if (_mouseLook->isChecked()) {
|
if (_mouseLook->isChecked()) {
|
||||||
QPoint mouse(_mouseX, _mouseY);
|
_myAvatar.updateFromMouse(_mouseX,
|
||||||
_myAvatar.updateFromMouse(_glWidget->mapFromGlobal(mouse).x(),
|
_mouseY,
|
||||||
_glWidget->mapFromGlobal(mouse).y(),
|
|
||||||
_glWidget->width(),
|
_glWidget->width(),
|
||||||
_glWidget->height());
|
_glWidget->height());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue