mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
Prevent --extrusion-multiplier <= 0. #1183
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user