mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
disable mouse wheel voxel scale change
This commit is contained in:
parent
ef8daffa4d
commit
9defa6255a
1 changed files with 3 additions and 1 deletions
|
@ -932,8 +932,10 @@ void Application::touchEndEvent(QTouchEvent* event) {
|
|||
_isTouchPressed = false;
|
||||
}
|
||||
|
||||
const bool USE_MOUSEWHEEL = false;
|
||||
void Application::wheelEvent(QWheelEvent* event) {
|
||||
if (activeWindow() == _window) {
|
||||
// Wheel Events disabled for now because they are also activated by touch look pitch up/down.
|
||||
if (USE_MOUSEWHEEL && (activeWindow() == _window)) {
|
||||
if (checkedVoxelModeAction() == 0) {
|
||||
event->ignore();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue