]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2183 Can't change the preselected object below the mouse cursor
authornds <nds@opencascade.com>
Wed, 12 Jul 2017 13:42:38 +0000 (16:42 +0300)
committernds <nds@opencascade.com>
Wed, 12 Jul 2017 13:42:38 +0000 (16:42 +0300)
src/SHAPERGUI/SHAPERGUI.cpp
src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp

index da00b44bf2f5ad620b2d47b690f7d0993ecfcbb1..c4580759f3bdb8dc0877664fee3193d16872d261 100644 (file)
@@ -64,7 +64,7 @@
 #include <QTimer>
 #include <QMenu>
 
-//#define SALOME_PATCH_FOR_CTRL_WHEEL
+#define SALOME_PATCH_FOR_CTRL_WHEEL
 
 extern "C" {
 SHAPERGUI_EXPORT CAM_Module* createModule()
index 0af846aa2d92940fc32b0c535c5740e34e841e5c..dc11d995f7482e637d411d1dd29e428735f45030 100644 (file)
@@ -33,7 +33,7 @@
 #include <QMouseEvent>
 #include <QContextMenuEvent>
 
-//#define SALOME_PATCH_FOR_CTRL_WHEEL
+#define SALOME_PATCH_FOR_CTRL_WHEEL
 
 SHAPERGUI_SalomeView::SHAPERGUI_SalomeView(OCCViewer_Viewer* theViewer)
 : ModuleBase_IViewWindow(), myCurrentView(0)