Fix assert in BOARD_ADAPTER::createLayers.

(cherry picked from commit f9ad0a434d)
This commit is contained in:
Alex Shvartzkop 2024-03-04 15:00:21 +03:00
parent 4072bc05af
commit 46faa0f678
1 changed files with 1 additions and 0 deletions

View File

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