[consider merging] Bugfix: generation of texts for antenna results

This commit is contained in:
Matthias Koefferlein 2022-11-02 23:07:29 +01:00
parent c8e60d666c
commit d47cbeb231
2 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ get_merged_shapes_of_net (const db::hier_clusters<db::NetShape> &clusters, db::c
db::PolygonRef::polygon_edge_iterator e = pr.begin_edge ();
if (! e.at_end ()) {
// pick one reference point for the label
if (! any_ref && (*e).p1 () < ref) {
if (! any_ref || (*e).p1 () < ref) {
ref = (*e).p1 ();
any_ref = true;
}

Binary file not shown.