mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Bugfix: previous brim and skirt were not cleared when disabled after first G-code export. #2024
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user