From c52cc71a7babef5a1c8284d87922b2727b6170d8 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 16 Nov 2018 11:43:19 +0100 Subject: [PATCH] seg.cd2i is not set, seg.edgenr is used everywhere else --- libsrc/meshing/meshclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 13177eba..c93742fd 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1173,7 +1173,7 @@ namespace netgen for (i = 1; i<= GetNSeg(); i++) { Segment & seg = LineSegment(i); - if ( seg.cd2i <= n ) + if ( seg.edgenr <= n ) seg.SetBCName (cd2names[seg.edgenr-1]); else seg.SetBCName(0);