mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Don't validate the number of layers for infill combination, just limit it automatically. #993
This commit is contained in:
@@ -1213,9 +1213,6 @@ sub validate {
|
||||
# --infill-every-layers
|
||||
die "Invalid value for --infill-every-layers\n"
|
||||
if $self->infill_every_layers !~ /^\d+$/ || $self->infill_every_layers < 1;
|
||||
# TODO: this check should be limited to the extruder used for infill
|
||||
die "Maximum infill thickness can't exceed nozzle diameter\n"
|
||||
if grep $self->infill_every_layers * $self->layer_height > $_, @{$self->nozzle_diameter};
|
||||
|
||||
# --scale
|
||||
die "Invalid value for --scale\n"
|
||||
|
||||
Reference in New Issue
Block a user