FIX: Prompting flush options not take effect when disable wipe tower
Change-Id: Id1195880ebe6021136446dc02ea46224aff4e801 (cherry picked from commit 7edd7f389c97acad8baa0bb809914d3aeeb75fd8)
This commit is contained in:
parent
13df80ffb7
commit
09c4a08cb5
|
@ -2813,21 +2813,24 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Flush into objects' infill");
|
||||
def->tooltip = L("Purging after filament change will be done inside objects' infills. "
|
||||
"This may lower the amount of waste and decrease the print time. "
|
||||
"If the walls are printed with transparent filament, the mixed color infill will be seen outside");
|
||||
"If the walls are printed with transparent filament, the mixed color infill will be seen outside. "
|
||||
"It will not take effect, unless the prime tower is enabled.");
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
def = this->add("flush_into_support", coBool);
|
||||
def->category = L("Flush options");
|
||||
def->label = L("Flush into objects' support");
|
||||
def->tooltip = L("Purging after filament change will be done inside objects' support. "
|
||||
"This may lower the amount of waste and decrease the print time");
|
||||
"This may lower the amount of waste and decrease the print time. "
|
||||
"It will not take effect, unless the prime tower is enabled.");
|
||||
def->set_default_value(new ConfigOptionBool(true));
|
||||
|
||||
def = this->add("flush_into_objects", coBool);
|
||||
def->category = L("Flush options");
|
||||
def->label = L("Flush into this object");
|
||||
def->tooltip = L("This object will be used to purge the nozzle after a filament change to save filament and decrease the print time. "
|
||||
"Colours of the objects will be mixed as a result");
|
||||
"Colours of the objects will be mixed as a result. "
|
||||
"It will not take effect, unless the prime tower is enabled.");
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
//BBS
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue