X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSVTK%2FSVTK_InteractorStyle.cxx;h=831110451d9aeb7c7db6995775059556a55869d1;hb=8d973f87a441c75acab8b1cf0d3f54434735008e;hp=ea8c11bd3a30d85a7a09ef3c9b86a6e79a53f384;hpb=8fd7cbc69cc7243a094733ee69ef218b0b5b7d0f;p=modules%2Fgui.git diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index ea8c11bd3..831110451 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -1298,6 +1298,9 @@ void SVTK_InteractorStyle::onOperation(QPoint mousePos) */ void SVTK_InteractorStyle::onCursorMove(QPoint mousePos) { + if ( !GetSelector()->IsPreSelectionEnabled() ) + return; + // processing highlighting SVTK_SelectionEvent* aSelectionEvent = GetSelectionEventFlipY(); this->FindPokedRenderer(aSelectionEvent->myX,aSelectionEvent->myY);