mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Bugfix: don't crash when skirts > 0 but skirt_height = 0. Includes regression test. #2537
This commit is contained in:
parent
9f0283f808
commit
90afbc8bd9
2 changed files with 11 additions and 2 deletions
|
@ -203,7 +203,7 @@ sub make_skirt {
|
|||
# checking whether we need to generate them
|
||||
$self->skirt->clear;
|
||||
|
||||
if ($self->config->skirts == 0
|
||||
if (($self->config->skirts == 0 || $self->config->skirt_height == 0)
|
||||
&& (!$self->config->ooze_prevention || @{$self->extruders} == 1)) {
|
||||
$self->set_step_done(STEP_SKIRT);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue