From 3b1b2b616552f661e8bb577b8d4d9f8567f5d4af Mon Sep 17 00:00:00 2001 From: remi durand Date: Fri, 4 Jun 2021 19:20:15 +0200 Subject: [PATCH] setting z_step reset correctly current slices #784 --- src/libslic3r/Print.cpp | 3 ++- src/libslic3r/PrintObject.cpp | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 5db104f471b..a9959a69594 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -230,7 +230,8 @@ bool Print::invalidate_state_by_config_options(const std::vectorconfig().spiral_vase) { + if (m_print->config().spiral_vase + || opt_key == "z_step") { // 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);