mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
[SALOME platform 0019868] Bad behaviour of display shading
set deviation angle of 10 degrees
This commit is contained in:
parent
1a353e1544
commit
041d59fb79
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user