// display mode from properties
propMap.value( GEOM::propertyName( GEOM::DisplayMode ) ).toInt() );
- // - face boundaries color
+ // - face boundaries color and line width
if( AISShape->DisplayMode() == GEOM_AISShape::ShadingWithEdges )
AISShape->Attributes()->SetFaceBoundaryDraw( Standard_True );
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() );
AISShape->Attributes()->SetFaceBoundaryAspect( anAspect );
// set display vectors flag
shadingMode(aPresentationManager, aPrs, Shading);
if( anIsColorField && myFieldDimension == 1 )
drawField( aPrs );
- else {
+ else
myDrawer->SetFaceBoundaryDraw( Standard_True );
- Handle(Prs3d_LineAspect) aBoundaryAspect =
- new Prs3d_LineAspect ( myEdgesInShadingColor, Aspect_TOL_SOLID, myOwnWidth );
- myDrawer->SetFaceBoundaryAspect (aBoundaryAspect);
- }
break;
}
case TexturedShape: