From b2af4c1069fd5de71c708b70a30f0b872268a7e2 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 11 Jun 2021 15:32:07 +0200 Subject: [PATCH] set flags properly for new Elements --- libsrc/meshing/meshclass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index d678cc75..2feb13ec 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -384,6 +384,8 @@ namespace netgen volelements.Append (el); } volelements.Last().flags.illegal_valid = 0; + volelements.Last().flags.fixed = 0; + volelements.Last().flags.deleted = 0; // while (volelements.Size() > eltyps.Size()) // eltyps.Append (FREEELEMENT); @@ -405,6 +407,8 @@ namespace netgen volelements[ei] = el; volelements[ei].flags.illegal_valid = 0; + volelements[ei].flags.fixed = 0; + volelements[ei].flags.deleted = 0; }