From: ouv Date: Wed, 17 Aug 2005 09:56:08 +0000 (+0000) Subject: Highlight/prehilight actor properties corrected X-Git-Tag: BR-D5-38-2003_D2005-12-09~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e8914c044e30020a88d9d01b481f7e07d75458d;p=modules%2Fgui.git Highlight/prehilight actor properties corrected --- diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index c47bf0bea..35b269ae5 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -106,13 +106,13 @@ SALOME_Actor::SALOME_Actor(){ myCellRectPicker = VTKViewer_CellRectPicker::New(); myPreHighlightActor = SVTK_Actor::New(); - myPreHighlightActor->GetProperty()->SetColor(0,1,0); - myPreHighlightActor->GetProperty()->SetPointSize(15); + myPreHighlightActor->GetProperty()->SetColor(0,1,1); + myPreHighlightActor->GetProperty()->SetPointSize(5); myPreHighlightActor->GetProperty()->SetRepresentationToPoints(); myPointProperty = vtkProperty::New(); - myPointProperty->SetColor(1,0,1); - myPointProperty->SetPointSize(15); + myPointProperty->SetColor(1,1,0); + myPointProperty->SetPointSize(5); myPointProperty->SetRepresentationToPoints(); myCellProperty = vtkProperty::New(); @@ -139,7 +139,7 @@ SALOME_Actor::SALOME_Actor(){ myOutlineActor->PickableOff(); myOutlineActor->DragableOff(); myOutlineActor->SetMapper( myOutlineMapper ); - myOutlineActor->GetProperty()->SetColor(0.0,1.0,0.0); + myOutlineActor->GetProperty()->SetColor(1.0,0.0,0.0); myOutlineActor->GetProperty()->SetAmbient(1.0); myOutlineActor->GetProperty()->SetDiffuse(0.0); myOutlineActor->SetVisibility( false );