From: ouv Date: Wed, 19 Oct 2005 08:31:06 +0000 (+0000) Subject: Fixed Bug GVIEW10319 : Incorrect representation of points. X-Git-Tag: TG-D5-38-2003_D2005-29-12~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed77bd5dc3ab520bef8946de4a840bb2b89b507d;p=modules%2Fgui.git Fixed Bug GVIEW10319 : Incorrect representation of points. --- 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 ); } //----------------------------------------------------------------------------