mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
Bugfix: previous brim and skirt were not cleared when disabled after first G-code export. #2024
This commit is contained in:
parent
a02a7f1a0f
commit
47940a712d
2 changed files with 13 additions and 4 deletions
|
@ -965,6 +965,9 @@ sub combine_infill {
|
|||
|
||||
sub generate_support_material {
|
||||
my $self = shift;
|
||||
|
||||
# TODO: make this method idempotent by removing all support layers
|
||||
# before checking whether we need to generate support or not
|
||||
return unless ($self->config->support_material || $self->config->raft_layers > 0)
|
||||
&& scalar(@{$self->layers}) >= 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue