Only combine internal infill and leave internal-solid as it is. #1248

This commit is contained in:
Alessandro Ranellucci 2013-06-23 18:21:47 +02:00
parent a1a39d3a2e
commit 2d687cd0a0

View File

@ -741,8 +741,8 @@ sub combine_infill {
my @layerms = map $self->layers->[$_]->regions->[$region_id],
($layer_id - ($combine[$layer_id]-1) .. $layer_id);
# process internal and internal-solid infill separately
for my $type (S_TYPE_INTERNAL, S_TYPE_INTERNALSOLID) {
# only combine internal infill
for my $type (S_TYPE_INTERNAL) {
# we need to perform a multi-layer intersection, so let's split it in pairs
# initialize the intersection with the candidates of the lowest layer