Fix disabling curving of edges

This commit is contained in:
Matthias Hochsteger 2024-12-13 09:55:15 +01:00
parent 46461fd166
commit 888ffeaa05

View File

@ -1090,20 +1090,20 @@ void BoundaryLayerTool ::AddSegments()
if (mapto[seg[0]].Size() || mapto[seg[1]].Size())
{
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[1].edgenr = -1;
}
for (auto& seg : segments)
if (is_edge_moved[seg.si])
if (is_edge_moved[seg.edgenr])
{
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[1].edgenr = -1;
}
for (auto& seg : new_segs)
{
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[1].edgenr = -1;
}
}