From bf3b921f3dc92395c132c4a5ae223ea355c5800e Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 17 Nov 2009 13:03:00 +0000 Subject: [PATCH] To roll back integration tagged by the revision 1.6.2.6 (fix of the bug IPAL21475 - Broken pre-highlight cursor) --- src/SVTK/SALOME_Actor.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index 920402a61..07f52de15 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -382,17 +382,8 @@ SALOME_Actor myPreHighlightActor->SetVisibility( theVisibility && myIsPreselected ); - vtkProperty* aProp = vtkProperty::New(); - aProp->SetColor( 255, 255, 255); - aProp->SetLineWidth ( 3 ); - myPreHighlightActor->SetProperty(aProp); - aProp->Delete(); - - int vis = myPreHighlightActor->GetVisibility(); - //printf ("\n Visibility = %d", vis); - if(mySelector.GetPointer() && hasIO()){ - if(mySelector->SelectionMode() != ActorSelection) { + if(mySelector->SelectionMode() != ActorSelection){ int aHasIndex = mySelector->HasIndex( getIO() ); myHighlightActor->SetVisibility( theVisibility && isHighlighted() && aHasIndex); } -- 2.39.2