]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To roll back integration tagged by the revision 1.6.2.6 (fix of the bug IPAL21475...
authorouv <ouv@opencascade.com>
Tue, 17 Nov 2009 13:03:00 +0000 (13:03 +0000)
committerouv <ouv@opencascade.com>
Tue, 17 Nov 2009 13:03:00 +0000 (13:03 +0000)
src/SVTK/SALOME_Actor.cxx

index 920402a610db7a1bcef71fcc5d7a1c3c04d43b78..07f52de151e73c61f0e725437420587718a4168e 100644 (file)
@@ -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);
     }