From d64b154bbb135694f711804d0d6aee238daaeacb Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 11 Feb 2008 14:53:28 +0000 Subject: [PATCH] IPAL 17256 --- src/SVTK/SVTK_InteractorStyle.cxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index 381f07c46..4e415e10e 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -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; } } -- 2.39.2