FIX: Prompting flush options not take effect when disable wipe tower

Change-Id: Id1195880ebe6021136446dc02ea46224aff4e801
(cherry picked from commit 7edd7f389c97acad8baa0bb809914d3aeeb75fd8)
This commit is contained in:
zhimin.zeng authored and Lane.Wei committed 2022-12-15 04:33:48 -05:00
1 parent 13df80ffb7
commit 09c4a08cb5
2 files changed
+9 -3

No files matched your search

+3
View File
@@ -586,6 +586,9 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
for (auto el : { "prime_tower_width", "prime_volume", "prime_tower_brim_width"})
toggle_line(el, have_prime_tower);
for (auto el : {"flush_into_infill", "flush_into_support", "flush_into_objects"})
toggle_field(el, have_prime_tower);
bool have_avoid_crossing_perimeters = config->opt_bool("reduce_crossing_wall");
toggle_line("max_travel_detour_distance", have_avoid_crossing_perimeters);