From 10297c1e6ca52980768f4701e51e75cbcd531bae Mon Sep 17 00:00:00 2001 From: Michael Neunteufel Date: Mon, 24 Jun 2019 19:43:21 +0200 Subject: [PATCH] copy numvertices for optimize2dmesh --- libsrc/meshing/meshclass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 1137c9c7..f5dfc7de 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -123,6 +123,8 @@ namespace netgen if (mesh2.cd3names[i]) cd3names[i] = new string(*mesh2.cd3names[i]); else cd3names[i] = 0; + numvertices = mesh2.numvertices; + return *this; }