From: ouv Date: Tue, 17 Nov 2009 13:03:00 +0000 (+0000) Subject: To roll back integration tagged by the revision 1.6.2.6 (fix of the bug IPAL21475... X-Git-Tag: V5_1_3rc3~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bf3b921f3dc92395c132c4a5ae223ea355c5800e;p=modules%2Fgui.git To roll back integration tagged by the revision 1.6.2.6 (fix of the bug IPAL21475 - Broken pre-highlight cursor) --- 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); }