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:
parent
4be56825bb
commit
bf38cb56b7
|
@ -504,6 +504,7 @@ SHAPE_POLY_SET CONVERT_TOOL::extractPolygons( const std::deque<EDA_ITEM*>& aItem
|
||||||
switch( item->Type() )
|
switch( item->Type() )
|
||||||
{
|
{
|
||||||
case PCB_SHAPE_T:
|
case PCB_SHAPE_T:
|
||||||
|
case PCB_FP_SHAPE_T:
|
||||||
switch( static_cast<PCB_SHAPE*>( item )->GetShape() )
|
switch( static_cast<PCB_SHAPE*>( item )->GetShape() )
|
||||||
{
|
{
|
||||||
case SHAPE_T::POLY:
|
case SHAPE_T::POLY:
|
||||||
|
|
Loading…
Reference in New Issue