Cherry pick fix for 4549.
Fixes: lp:4549 * https://gitlab.com/kicad/code/kicad/-/issues/4549
This commit is contained in:
parent
a02ee3719c
commit
bfe4d9f3f4
|
@ -1067,6 +1067,15 @@ void DRC::testCopperDrawItem( DRAWSEGMENT* aItem )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case S_POLYGON:
|
||||||
|
{
|
||||||
|
SHAPE_LINE_CHAIN l = aItem->GetPolyShape().Outline( 0 );
|
||||||
|
|
||||||
|
for( int i = 0; i < l.SegmentCount(); i++ )
|
||||||
|
itemShape.push_back( l.Segment( i ) );
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue