mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-19 03:59:07 -07:00
Fixed regression causing bridge flow to be incorrect when a manual default extrusion width was specified. Includes several regression tests. #2027
This commit is contained in:
@@ -9,7 +9,8 @@ Flow::new_from_config_width(FlowRole role, const ConfigOptionFloatOrPercent &wid
|
||||
if (height <= 0 && bridge_flow_ratio == 0) CONFESS("Invalid flow height supplied to new_from_config_width()");
|
||||
|
||||
float w;
|
||||
if (!width.percent && width.value == 0) {
|
||||
// use automatic extrusion width if user left 0 or we need a bridge flow
|
||||
if ((!width.percent && width.value == 0) || bridge_flow_ratio > 0) {
|
||||
w = Flow::_width(role, nozzle_diameter, height, bridge_flow_ratio);
|
||||
} else {
|
||||
w = width.get_abs_value(height);
|
||||
|
||||
Reference in New Issue
Block a user