From 181642b85bb56ea0c37eac60cf14c5b17fe15bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hejl?= Date: Mon, 21 Dec 2020 09:15:33 +0100 Subject: [PATCH] Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled. --- src/libslic3r/PrintObject.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index 203f24d6d..683827501 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -567,12 +567,18 @@ bool PrintObject::invalidate_state_by_config_options(const std::vectorconfig().spiral_vase) { + // Changing the number of bottom layers when a spiral vase is enabled requires re-slicing the object again. + // Otherwise, holes in the bottom layers could be filled, as is reported in GH #5528. + steps.emplace_back(posSlice); + } } else if ( opt_key == "interface_shells" || opt_key == "infill_only_where_needed" || opt_key == "infill_every_layers" || opt_key == "solid_infill_every_layers" - || opt_key == "bottom_solid_layers" || opt_key == "bottom_solid_min_thickness" || opt_key == "top_solid_layers" || opt_key == "top_solid_min_thickness"