From daeedc51a37147d1bb572590b1986f5106f6fe41 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Tue, 22 Jul 2025 16:44:09 +0800 Subject: [PATCH] Fix build issue caused by renamed fill pattern (#10197) Fix issue caused by renamed fill pattern --- src/libslic3r/PrintConfig.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 036980d042..d22f570784 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -6835,7 +6835,12 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va opt_key = "counterbore_hole_bridging"; } else if (opt_key == "draft_shield" && value == "limited") { value = "disabled"; - } else if (opt_key == "sparse_infill_pattern" && value == "zig-zag") { + } else if ((opt_key == "sparse_infill_pattern" || + opt_key == "top_surface_pattern" || + opt_key == "bottom_surface_pattern" || + opt_key == "internal_solid_infill_pattern" || + opt_key == "ironing_pattern" || + opt_key == "support_ironing_pattern") && value == "zig-zag") { value = "rectilinear"; }