mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 23:52:03 +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 = AISShape->Attributes()->WireAspect();
|
||||||
anAspect->SetColor( aColor );
|
anAspect->SetColor( aColor );
|
||||||
AISShape->Attributes()->SetWireAspect( anAspect );
|
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…
x
Reference in New Issue
Block a user