mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:12:46 +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;
|
_isTouchPressed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bool USE_MOUSEWHEEL = false;
|
||||||
void Application::wheelEvent(QWheelEvent* event) {
|
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) {
|
if (checkedVoxelModeAction() == 0) {
|
||||||
event->ignore();
|
event->ignore();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue