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

index 381f07c4606dcc78e27758cfea7a2d6541004a5e..4e415e10e697ae2cb0b358ab41d8d936e116351d 100644 (file)
@@ -1212,13 +1212,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();
@@ -1228,8 +1222,7 @@ SVTK_InteractorStyle
        TColStd_IndexedMapOfInteger aMapIndex;
        aMapIndex.Add( anObjId );
        myHighlightRotationPointActor->MapPoints( anActor, aMapIndex );
-
-       myHighlightRotationPointActor->SetVisibility( true );
+//     myHighlightRotationPointActor->SetVisibility( true );
        anIsChanged = true;
       }
     }