FIX: wipe tower does not extruder fill in smooth mode timelapse

Change-Id: Ia6957cfe41ed3624baa4c12b6df90462fc436475
(cherry picked from commit 39ecccc94bea2a43a74ac852f121c5dbc739dc67)
This commit is contained in:
zhimin.zeng 2022-09-15 11:18:29 +08:00 committed by Lane.Wei
parent 530c2287c8
commit 9f74ea5763
5 changed files with 18 additions and 19 deletions

View file

@ -1871,8 +1871,11 @@ void Print::_make_wipe_tower()
layer_tools.wiping_extrusions().ensure_perimeters_infills_order(*this);
// if enable timelapse, slice all layer
if (enable_timelapse_print())
if (enable_timelapse_print()) {
if (layer_tools.wipe_tower_partitions == 0)
wipe_tower.set_last_layer_extruder_fill(false);
continue;
}
if (&layer_tools == &m_wipe_tower_data.tool_ordering.back() || (&layer_tools + 1)->wipe_tower_partitions == 0)
break;