diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index 773dde8e..98aa2799 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -889,9 +889,9 @@ namespace netgen for(auto & seg : new_segments) mesh.AddSegment(seg); } + mesh.GetTopology().ClearEdges(); mesh.UpdateTopology(); - mesh.SetGeometry(nullptr); } void AddDirection( Vec<3> & a, Vec<3> b )