Fix a bug where the maximum line width limit is inconsistent across different checks.

Fixes #10188
This commit is contained in:
SoftFever
2025-07-30 21:22:40 +08:00
parent 3f1e4ca55a
commit c86eb27675
3 changed files with 5 additions and 2 deletions

View File

@@ -1307,7 +1307,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
} else if (extrusion_width_min <= layer_height) {
err_msg = L("Too small line width");
return false;
} else if (extrusion_width_max > max_nozzle_diameter * 5) {
} else if (extrusion_width_max > max_nozzle_diameter * MAX_LINE_WIDTH_MULTIPLIER) {
err_msg = L("Too large line width");
return false;
}