[SALOME platform 0019868] Bad behaviour of display shading

set deviation angle of 10 degrees
This commit is contained in:
eap 2008-06-05 09:01:59 +00:00
parent 1a353e1544
commit 041d59fb79

View File

@ -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 );
}
}