Skip to content

Commit 8a3184a

Browse files
committed
Merge branch '5.4.x-branch' into 5.5.x-branch
2 parents ec00fa3 + 56f42b4 commit 8a3184a

File tree

1 file changed

+2
-0
lines changed
  • Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing

1 file changed

+2
-0
lines changed

Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/orientation.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,8 @@ void orient_to_bound_a_volume(TriangleMesh& tm,
13541354
typedef typename GetGeomTraits<TriangleMesh, NamedParameters>::type GT;
13551355
typedef typename GetInitializedFaceIndexMap<TriangleMesh, NamedParameters>::type FaceIndexMap;
13561356

1357+
if (is_empty(tm)) return;
1358+
13571359
CGAL_precondition(is_closed(tm));
13581360
CGAL_precondition(is_triangle_mesh(tm));
13591361

0 commit comments

Comments
 (0)