From e17b57d6bdaf7471ceeb2509d9f774b9f7648398 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Fri, 11 Jun 2021 17:59:33 +0200 Subject: [PATCH] Fixing previous TriangleSelector refactoring. --- src/libslic3r/TriangleSelector.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/TriangleSelector.hpp b/src/libslic3r/TriangleSelector.hpp index 87f5e8c21..9df6b04f0 100644 --- a/src/libslic3r/TriangleSelector.hpp +++ b/src/libslic3r/TriangleSelector.hpp @@ -133,7 +133,9 @@ protected: // How many children were spawned during last split? // Is not reset on remerging the triangle. - char old_number_of_splits : 2; + int old_number_of_splits : 3; + + // there are still 3 bits available at the last byte :-) }; struct Vertex {