mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 13:42:40 -07:00
No support when --support-material-interface-layers was set to 1. #1515
This commit is contained in:
@@ -325,8 +325,9 @@ sub generate_base_layers {
|
||||
my @overlapping_z = map $support_z->[$_], @overlapping_layers;
|
||||
|
||||
# in case we have no interface layers, look at upper contact
|
||||
# (1 interface layer means we only have contact layer, so $interface->{$i+1} is empty)
|
||||
my @upper_contact = ();
|
||||
if ($self->config->support_material_interface_layers == 0) {
|
||||
if ($self->config->support_material_interface_layers <= 1) {
|
||||
@upper_contact = @{ $contact->{$support_z->[$i+1]} || [] };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user