From 97b9dae812f7d5d8625256f512001973e4898ef8 Mon Sep 17 00:00:00 2001 From: "mhochsteger@cerbsim.com" Date: Mon, 7 Mar 2022 16:04:21 +0100 Subject: [PATCH] preserve Geometry after generating boundary layer --- libsrc/meshing/boundarylayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )