mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-14 02:30:35 +05:00
INT PAL 0052631: Line width property does not affect Shading with edges display mode (for preview edges width)
This commit is contained in:
parent
e5b3888b6f
commit
4f4dc7e4d5
@ -845,7 +845,7 @@ void GEOM_Displayer::updateShapeProperties( const Handle(GEOM_AISShape)& AISShap
|
||||
// - face boundaries color and line width
|
||||
anAspect = AISShape->Attributes()->FaceBoundaryAspect();
|
||||
anAspect->SetColor( SalomeApp_Tools::color( propMap.value( GEOM::propertyName( GEOM::OutlineColor ) ).value<QColor>() ) );
|
||||
anAspect->SetWidth( propMap.value( GEOM::propertyName( GEOM::LineWidth ) ).toInt() );
|
||||
anAspect->SetWidth( HasWidth() ? GetWidth() : propMap.value( GEOM::propertyName( GEOM::LineWidth ) ).toInt() );
|
||||
AISShape->Attributes()->SetFaceBoundaryAspect( anAspect );
|
||||
|
||||
// set display vectors flag
|
||||
|
Loading…
Reference in New Issue
Block a user