]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL 17256
authordmv <dmv@opencascade.com>
Mon, 11 Feb 2008 14:55:18 +0000 (14:55 +0000)
committerdmv <dmv@opencascade.com>
Mon, 11 Feb 2008 14:55:18 +0000 (14:55 +0000)
src/SVTK/SVTK_InteractorStyle.cxx

index 37756f98d28de487c0c9f6138fe4ae3ec28203ff..1f662ca7b49c96f8c3a96011dfbb931b31968f3a 100644 (file)
@@ -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();