message: NCMesh: fixed error in boundary closure
diff: @@ -1903,7 +1903,10 @@ void NCMesh::TraverseEdge(int vn0, int vn1, double t0, double t1, int flags,
  void NCMesh::BuildEdgeList()
  {
  edge_list.Clear();
  + if (Dim <= 2)
  + {
  boundary_faces.SetSize(0);
  + }
  Array<char> processed_edges(nodes.NumIds());
  processed_edges = 0;
  @@ -2853,7 +2856,7 @@ int NCMesh::GetEdgeMaster(int node) const
  if ((n2p1 != n2p2) && (p1 == n2p1 || p1 == n2p2))
  {
  // n1 is parent of n2:
  - // (n1)--(n)--(n2)------(*) or (*)------(n2)--(n)--(n1)
  + // (n1)--(nd)--(n2)------(*)
  if (n2.HasEdge()) { return p2; }
  else { return GetEdgeMaster(p2); }
  }
  @@ -2861,7 +2864,7 @@ int NCMesh::GetEdgeMaster(int node) const
  if ((n1p1 != n1p2) && (p2 == n1p1 || p2 == n1p2))
  {
  // n2 is parent of n1:
  - // (n2)--(n)--(n1)------(*) or (*)------(n1)--(n)--(n2)
  + // (n2)--(nd)--(n1)------(*)
  if (n1.HasEdge()) { return p1; }
  else { return GetEdgeMaster(p1); }
  }
  