mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Fixed spiral vase regressions. Includes regression tests. #1773
This commit is contained in:
parent
0060873f1c
commit
49d290accf
4 changed files with 66 additions and 47 deletions
|
@ -57,7 +57,7 @@ sub process_layer {
|
|||
}
|
||||
|
||||
# if we're going to apply spiralvase to this layer, disable loop clipping
|
||||
$self->gcodegen->enable_loop_clipping(!defined $self->spiralvase && !$self->spiralvase->enable);
|
||||
$self->gcodegen->enable_loop_clipping(!defined $self->spiralvase || !$self->spiralvase->enable);
|
||||
|
||||
if (!$self->second_layer_things_done && $layer->id == 1) {
|
||||
for my $extruder_id (sort keys %{$self->extruders}) {
|
||||
|
@ -189,9 +189,9 @@ sub process_layer {
|
|||
}
|
||||
|
||||
# apply spiral vase post-processing if this layer contains suitable geometry
|
||||
# (we must feed all the G-code into the post-processor otherwise it will
|
||||
# mess with positions)
|
||||
$gcode = $self->spiralvase->process_layer($gcode, $layer)
|
||||
# (we must feed all the G-code into the post-processor, including the first
|
||||
# bottom non-spiral layers otherwise it will mess with positions)
|
||||
$gcode = $self->spiralvase->process_layer($gcode)
|
||||
if defined $self->spiralvase;
|
||||
|
||||
# apply vibration limit if enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue