From 888ffeaa0593d398582eea137fa5f65881f5c026 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 13 Dec 2024 09:55:15 +0100 Subject: [PATCH] Fix disabling curving of edges --- libsrc/meshing/boundarylayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index 6cff3bb8..8a82d385 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -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; } }