]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Highlight/prehilight actor properties corrected
authorouv <ouv@opencascade.com>
Wed, 17 Aug 2005 09:56:08 +0000 (09:56 +0000)
committerouv <ouv@opencascade.com>
Wed, 17 Aug 2005 09:56:08 +0000 (09:56 +0000)
src/SVTK/SALOME_Actor.cxx

index c47bf0beadbd4151e9ebec0424bd0742ffc7a641..35b269ae5ddd1bf8b2160755c3a640c322b97a8e 100644 (file)
@@ -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 );