From ed77bd5dc3ab520bef8946de4a840bb2b89b507d Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 19 Oct 2005 08:31:06 +0000 Subject: [PATCH] Fixed Bug GVIEW10319 : Incorrect representation of points. --- src/SVTK/SVTK_Renderer.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/SVTK/SVTK_Renderer.cxx b/src/SVTK/SVTK_Renderer.cxx index 5e1e1eb06..e0459678b 100644 --- a/src/SVTK/SVTK_Renderer.cxx +++ b/src/SVTK/SVTK_Renderer.cxx @@ -96,15 +96,15 @@ SVTK_Renderer //SetPreselectionProp(); myPreHighlightProperty->Delete(); myPreHighlightProperty->SetColor(0,1,1); - myPreHighlightProperty->SetPointSize(SALOME_POINT_SIZE); - myPreHighlightProperty->SetLineWidth(SALOME_LINE_WIDTH); + myPreHighlightProperty->SetPointSize(SALOME_POINT_SIZE+2); + myPreHighlightProperty->SetLineWidth(SALOME_LINE_WIDTH+2); myPreHighlightProperty->SetRepresentationToPoints(); //SetSelectionProp(); myHighlightProperty->Delete(); myHighlightProperty->SetColor(1,1,0); - myHighlightProperty->SetPointSize(SALOME_POINT_SIZE); - myHighlightProperty->SetLineWidth(SALOME_LINE_WIDTH); + myHighlightProperty->SetPointSize(SALOME_POINT_SIZE+2); + myHighlightProperty->SetLineWidth(SALOME_LINE_WIDTH+2); myHighlightProperty->SetRepresentationToPoints(); myTrihedron->Delete(); @@ -284,6 +284,7 @@ SVTK_Renderer { myHighlightProperty->SetColor( theRed, theGreen, theBlue ); myHighlightProperty->SetLineWidth( theWidth ); + myHighlightProperty->SetPointSize( theWidth ); } //---------------------------------------------------------------------------- @@ -296,6 +297,7 @@ SVTK_Renderer { myPreHighlightProperty->SetColor( theRed, theGreen, theBlue ); myPreHighlightProperty->SetLineWidth( theWidth ); + myPreHighlightProperty->SetPointSize( theWidth ); } //---------------------------------------------------------------------------- -- 2.39.2