Prevent --extrusion-multiplier <= 0. #1183
This commit is contained in:
parent
5c7dd2cf78
commit
5f06cea821
@ -1328,6 +1328,10 @@ sub validate {
|
||||
if $self->extruder_clearance_radius <= 0;
|
||||
die "Invalid value for --extruder-clearance-height\n"
|
||||
if $self->extruder_clearance_height <= 0;
|
||||
|
||||
# --extrusion-multiplier
|
||||
die "Invalid value for --extrusion-multiplier\n"
|
||||
if defined first { $_ <= 0 } @{$self->extrusion_multiplier};
|
||||
}
|
||||
|
||||
sub replace_options {
|
||||
|
Loading…
Reference in New Issue
Block a user