|
|
|
@ -493,6 +493,7 @@ void POLYGON_BOOLEAN_ROUTINE::ProcessShape( PCB_SHAPE& aPcbShape ) |
|
|
|
{ |
|
|
|
m_width = aPcbShape.GetWidth(); |
|
|
|
m_layer = aPcbShape.GetLayer(); |
|
|
|
m_filled = aPcbShape.IsFilled(); |
|
|
|
m_workingPolygons = std::move( *poly ); |
|
|
|
m_firstPolygon = false; |
|
|
|
|
|
|
|
@ -541,6 +542,7 @@ void POLYGON_BOOLEAN_ROUTINE::Finalize() |
|
|
|
// Copy properties from the source polygon
|
|
|
|
new_poly_shape->SetWidth( m_width ); |
|
|
|
new_poly_shape->SetLayer( m_layer ); |
|
|
|
new_poly_shape->SetFilled( m_filled ); |
|
|
|
|
|
|
|
handler.AddNewItem( std::move( new_poly_shape ) ); |
|
|
|
} |
|
|
|
|