From: dmv Date: Mon, 11 Feb 2008 14:55:18 +0000 (+0000) Subject: IPAL 17256 X-Git-Tag: V4_1_1rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=624863a5107a0e9d9ea5e1b8566438b2ee52716f;p=modules%2Fgui.git IPAL 17256 --- diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index 37756f98d..1f662ca7b 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -1207,7 +1207,7 @@ SVTK_InteractorStyle ::onCursorMove(QPoint mousePos) { // processing highlighting - SVTK_SelectionEvent* aSelectionEvent = GetSelectionEventFlipY(); + SVTK_SelectionEvent* aSelectionEvent = GetSelectionEventFlipY(); this->FindPokedRenderer(aSelectionEvent->myX,aSelectionEvent->myY); bool anIsChanged = false; @@ -1218,13 +1218,7 @@ SVTK_InteractorStyle { myHighlightRotationPointActor->SetVisibility( false ); - SALOME_Actor *anCurrActor; - if ( anActor ) anCurrActor = anActor; - else if ( myLastPreHighlitedActor.GetPointer() - && - myLastPreHighlitedActor.GetPointer() != anActor ) - anCurrActor = myLastPreHighlitedActor.GetPointer(); - if ( anCurrActor ) + if ( anActor ) { myPointPicker->Pick( aSelectionEvent->myX, aSelectionEvent->myY, 0.0, GetCurrentRenderer() ); int aVtkId = myPointPicker->GetPointId();