FIX: CLI: don't auto arrange when printer not changed

JIRA: no-jira
Change-Id: I8745540c06c1f9c74bfe8e32247ca3a18ba26365
This commit is contained in:
lane.wei 2024-08-30 12:19:49 +08:00 committed by Lane.Wei
parent 3dd72333f5
commit 77130cf68d
1 changed files with 1 additions and 1 deletions

View File

@ -4000,7 +4000,7 @@ int CLI::run(int argc, char **argv)
need_arrange = true;
}
if ((!need_arrange) && is_bbl_3mf && !shrink_to_new_bed && (plate_to_slice > 0))
if ((!need_arrange) && is_bbl_3mf && !shrink_to_new_bed && (plate_to_slice > 0) && !new_printer_system_name.empty() && (new_printer_system_name!= current_printer_system_name))
{
if (((old_height_to_rod != 0.f) && (old_height_to_rod != height_to_rod))
|| ((old_height_to_lid != 0.f) && (old_height_to_lid != height_to_lid))