diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.cpp index 871141730..e4d1f790a 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.cpp @@ -77,22 +77,12 @@ namespace MaterialEditor update(); } - void ViewPortWidget::wheelEvent( QWheelEvent *evnt ) - { - QWidget::wheelEvent( evnt ); - } - #if defined( NL_OS_WINDOWS ) typedef bool ( *winProc )( NL3D::IDriver *driver, HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); bool ViewPortWidget::winEvent( MSG *message, long *result ) { - if( message->message == WM_MOUSEWHEEL ) - { - printf( "" ); - } - NL3D::UDriver *udriver = nl3dIface->getDriver(); if( ( udriver != NULL ) && udriver->isActive() ) { diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.h index d7af9ccfc..081cad53a 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.h +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/material_editor/viewport_widget.h @@ -46,8 +46,6 @@ namespace MaterialEditor void timerEvent( QTimerEvent *evnt ); - void wheelEvent( QWheelEvent *evnt ); - #if defined ( NL_OS_WINDOWS ) bool winEvent( MSG *message, long *result ); #elif defined( NL_OS_MAC )