From 2ac41509d748135e0df2e6226a9df81cd44bec62 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Tue, 4 Jun 2024 12:03:54 +0800 Subject: [PATCH] FIX: modify top_shell_layer should reslice jira: none Change-Id: Ied85b87ea4e036a60024977c50ac926c7293a5e1 --- src/libslic3r/PrintObject.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index a88ca1fcf..d4ae44c96 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -1037,8 +1037,8 @@ bool PrintObject::invalidate_state_by_config_options( opt_key == "bottom_shell_layers" || opt_key == "top_shell_layers") { - steps.emplace_back(posPrepareInfill); - + steps.emplace_back(posSlice); +#if (0) const auto *old_shell_layers = old_config.option(opt_key); const auto *new_shell_layers = new_config.option(opt_key); assert(old_shell_layers && new_shell_layers); @@ -1054,6 +1054,7 @@ bool PrintObject::invalidate_state_by_config_options( // Otherwise, holes in the bottom layers could be filled, as is reported in GH #5528. steps.emplace_back(posSlice); } +#endif } else if ( opt_key == "interface_shells" || opt_key == "infill_combination"