mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-26 19:10:34 +05:00
0023558: [CEA 2242] : Bad display of shared edges in wireframe mode
This commit is contained in:
parent
65e19de611
commit
0ab4dbdbf0
@ -839,10 +839,12 @@ void GEOM_Displayer::updateShapeProperties( const Handle(GEOM_AISShape)& AISShap
|
|||||||
AISShape->Attributes()->SetUnFreeBoundaryAspect( anAspect );
|
AISShape->Attributes()->SetUnFreeBoundaryAspect( anAspect );
|
||||||
|
|
||||||
// - free boundaries color
|
// - free boundaries color
|
||||||
anAspect = AISShape->Attributes()->FreeBoundaryAspect();
|
Handle(Prs3d_LineAspect) aFreeBoundaryAspect =
|
||||||
anAspect->SetColor( HasColor() ? (Quantity_NameOfColor)GetColor() :
|
new Prs3d_LineAspect (Quantity_NOC_RED, Aspect_TOL_SOLID, 1.0);
|
||||||
|
*aFreeBoundaryAspect->Aspect() = *AISShape->Attributes()->FreeBoundaryAspect()->Aspect();
|
||||||
|
aFreeBoundaryAspect->SetColor( HasColor() ? (Quantity_NameOfColor)GetColor() :
|
||||||
SalomeApp_Tools::color( propMap.value( GEOM::propertyName( GEOM::FreeBndColor ) ).value<QColor>() ) );
|
SalomeApp_Tools::color( propMap.value( GEOM::propertyName( GEOM::FreeBndColor ) ).value<QColor>() ) );
|
||||||
AISShape->Attributes()->SetFreeBoundaryAspect( anAspect );
|
AISShape->Attributes()->SetFreeBoundaryAspect( aFreeBoundaryAspect );
|
||||||
|
|
||||||
// - standalone edges color
|
// - standalone edges color
|
||||||
anAspect = AISShape->Attributes()->WireAspect();
|
anAspect = AISShape->Attributes()->WireAspect();
|
||||||
|
Loading…
Reference in New Issue
Block a user