mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 02:06:03 +08:00
FIX: When switching an empty plate, the default for the wipe tower is incorrect
jira: STUDIO-11817 Change-Id: I94ff4c358bb663cfbcd8bbbf72a46ba671cbcb56
This commit is contained in:
parent
69300aa7e1
commit
125fd77f59
@ -3789,6 +3789,11 @@ void PartPlateList::set_default_wipe_tower_pos_for_plate(int plate_idx, bool ini
|
||||
int nozzle_nums = wxGetApp().preset_bundle->get_printer_extruder_count();
|
||||
double wipe_vol = get_max_element(v);
|
||||
Vec3d wipe_tower_size = part_plate->estimate_wipe_tower_size(print_cfg, w, wipe_vol, nozzle_nums, init_pos ? 2 : 0);
|
||||
|
||||
if (!init_pos && (is_approx(wipe_tower_size(0), 0.0) || is_approx(wipe_tower_size(1), 0.0))) {
|
||||
wipe_tower_size = part_plate->estimate_wipe_tower_size(print_cfg, w, wipe_vol, nozzle_nums, 2);
|
||||
}
|
||||
|
||||
// update for wipe tower position
|
||||
{
|
||||
bool need_update = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user