Altium sch: Import non lib shapes line color (ASCH_SHAPE_INTERFACE -> Polygon, Rectangle and Round rect)

This commit is contained in:
WhiteChairFromIkea 2022-09-04 01:44:26 +03:00 committed by Jeff Young
parent 2958f66407
commit e155514339
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ static PLOT_DASH_TYPE GetPlotDashType( const ASCH_POLYLINE_LINESTYLE linestyle )
static void SetSchShapeFillAndColor( const ASCH_SHAPE_INTERFACE& elem, SCH_SHAPE* shape )
{
shape->SetStroke( STROKE_PARAMS( elem.LineWidth, PLOT_DASH_TYPE::SOLID ) );
shape->SetStroke( STROKE_PARAMS( elem.LineWidth, PLOT_DASH_TYPE::SOLID, GetColorFromInt( elem.Color ) ) );
if( !elem.IsSolid )
{