Prevent --extrusion-multiplier <= 0. #1183
This commit is contained in:
parent
5c7dd2cf78
commit
5f06cea821
1 changed files with 4 additions and 0 deletions
|
@ -1328,6 +1328,10 @@ sub validate {
|
||||||
if $self->extruder_clearance_radius <= 0;
|
if $self->extruder_clearance_radius <= 0;
|
||||||
die "Invalid value for --extruder-clearance-height\n"
|
die "Invalid value for --extruder-clearance-height\n"
|
||||||
if $self->extruder_clearance_height <= 0;
|
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 {
|
sub replace_options {
|
||||||
|
|
Loading…
Add table
Reference in a new issue