diff --git a/xs/src/libslic3r/Surface.hpp b/xs/src/libslic3r/Surface.hpp index 147901334..889c3cfe4 100644 --- a/xs/src/libslic3r/Surface.hpp +++ b/xs/src/libslic3r/Surface.hpp @@ -23,7 +23,10 @@ enum SurfaceType { // or if sparse infill layers get combined into a single layer. stInternalVoid, // Inner/outer perimeters. - stPerimeter + stPerimeter, + // Last surface type, if the SurfaceType is used as an index into a vector. + stLast, + stCount = stLast + 1 }; class Surface