diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index a40deef9..d444a8b1 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -3193,6 +3193,10 @@ namespace netgen i--; } + for(int i=0; i < segments.Size(); i++) + if(segments[i].edgenr < 0) + segments.Delete(i--); + pused.Clear(); for (int i = 0; i < volelements.Size(); i++) {