mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
FIX: modify top_shell_layer should reslice
jira: none Change-Id: Ied85b87ea4e036a60024977c50ac926c7293a5e1
This commit is contained in:
@@ -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<ConfigOptionInt>(opt_key);
|
||||
const auto *new_shell_layers = new_config.option<ConfigOptionInt>(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"
|
||||
|
||||
Reference in New Issue
Block a user