Handle footprint shapes in polygon creation

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10259

(cherry picked from commit f9d8ec6137)
This commit is contained in:
Jon Evans 2022-01-04 21:31:22 -05:00
parent 4be56825bb
commit bf38cb56b7
1 changed files with 1 additions and 0 deletions

View File

@ -504,6 +504,7 @@ SHAPE_POLY_SET CONVERT_TOOL::extractPolygons( const std::deque<EDA_ITEM*>& aItem
switch( item->Type() )
{
case PCB_SHAPE_T:
case PCB_FP_SHAPE_T:
switch( static_cast<PCB_SHAPE*>( item )->GetShape() )
{
case SHAPE_T::POLY: