mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix build issue caused by renamed fill pattern (#10197)
Fix issue caused by renamed fill pattern
This commit is contained in:
@@ -6835,7 +6835,12 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
|
|||||||
opt_key = "counterbore_hole_bridging";
|
opt_key = "counterbore_hole_bridging";
|
||||||
} else if (opt_key == "draft_shield" && value == "limited") {
|
} else if (opt_key == "draft_shield" && value == "limited") {
|
||||||
value = "disabled";
|
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";
|
value = "rectilinear";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user