Fix assert in BOARD_ADAPTER::createLayers.
This commit is contained in:
parent
fb089a182b
commit
f9ad0a434d
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue