Fix assert in BOARD_ADAPTER::createLayers.

This commit is contained in:
Alex Shvartzkop 2024-03-04 15:00:21 +03:00
parent fb089a182b
commit f9ad0a434d
1 changed files with 1 additions and 0 deletions

View File

@ -1151,6 +1151,7 @@ void BOARD_ADAPTER::createLayers( REPORTER* aStatusReporter )
if( layerPoly != m_layers_poly.end() ) if( layerPoly != m_layers_poly.end() )
{ {
// This will make a union of all added contours // This will make a union of all added contours
layerPoly->second->ClearArcs();
layerPoly->second->Simplify( SHAPE_POLY_SET::PM_FAST ); layerPoly->second->Simplify( SHAPE_POLY_SET::PM_FAST );
} }
} }