mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 00:54:04 +08:00
No support when --support-material-interface-layers was set to 1. #1515
This commit is contained in:
parent
bb37048c35
commit
ab3e5b5a2c
@ -325,8 +325,9 @@ sub generate_base_layers {
|
|||||||
my @overlapping_z = map $support_z->[$_], @overlapping_layers;
|
my @overlapping_z = map $support_z->[$_], @overlapping_layers;
|
||||||
|
|
||||||
# in case we have no interface layers, look at upper contact
|
# 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 = ();
|
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]} || [] };
|
@upper_contact = @{ $contact->{$support_z->[$i+1]} || [] };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user