From: eap Date: Thu, 5 Jun 2008 09:01:59 +0000 (+0000) Subject: [SALOME platform 0019868] Bad behaviour of display shading X-Git-Tag: V4_1_3~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=041d59fb7929de2af44295b97ed2a39c47ea5912;p=modules%2Fgeom.git [SALOME platform 0019868] Bad behaviour of display shading set deviation angle of 10 degrees --- 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 ); } }