1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Define a surface type count constant to be able to address a vector

with a surface type.
This commit is contained in:
bubnikv
2017-03-02 16:42:26 +01:00
parent 83a80a9b7d
commit d430767fa7
+4 -1
View File
@@ -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