Fixed issue #408 (internal error after EdgePairs#polygon)

This commit is contained in:
Matthias Koefferlein 2019-11-17 22:32:02 +01:00
parent 595075a88a
commit 68c6941318
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ RegionDelegate *DeepEdgePairs::polygons (db::Coord e) const
for (db::Shapes::shape_iterator s = c->shapes (m_deep_layer.layer ()).begin (db::ShapeIterator::EdgePairs); ! s.at_end (); ++s) {
db::Polygon poly = s->edge_pair ().normalized ().to_polygon (e);
if (poly.vertices () >= 3) {
output.insert (poly);
output.insert (db::PolygonRef (poly, layout.shape_repository ()));
}
}
}