From 041d59fb7929de2af44295b97ed2a39c47ea5912 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 5 Jun 2008 09:01:59 +0000 Subject: [PATCH] [SALOME platform 0019868] Bad behaviour of display shading set deviation angle of 10 degrees --- src/GEOMGUI/GEOM_Displayer.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index 79e6926fc..55e318612 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -637,6 +637,10 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs ) anAspect = AISShape->Attributes()->WireAspect(); anAspect->SetColor( aColor ); AISShape->Attributes()->SetWireAspect( anAspect ); + + // bug [SALOME platform 0019868] + // Set deviation angle. Default one is 12 degrees (Prs3d_Drawer.cxx:18) + AISShape->SetOwnDeviationAngle( 10*PI/180 ); } } -- 2.39.2