mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Generate raft automatically even when support material is disabled
This commit is contained in:
parent
177f1a9bf0
commit
c7b4d99d7e
2 changed files with 6 additions and 4 deletions
|
@ -559,6 +559,8 @@ sub generate_support_material {
|
|||
my @current_support_regions = (); # expolygons we've started to support (i.e. below the empty interface layers)
|
||||
my @queue = (); # the number of items of this array determines the number of empty interface layers
|
||||
for my $i (reverse 0 .. $#{$self->layers}) {
|
||||
next unless $Slic3r::Config->support_material || ($i <= $Slic3r::Config->raft_layers); # <= because we need to start from the first non-raft layer
|
||||
|
||||
my $layer = $self->layers->[$i];
|
||||
my $lower_layer = $i > 0 ? $self->layers->[$i-1] : undef;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue