One more raft issue causing extra layers. #2723

This commit is contained in:
Alessandro Ranellucci 2015-06-03 09:39:10 +02:00
parent c5f72a633a
commit 52d3a047a0

View file

@ -364,7 +364,8 @@ sub support_layers_z {
1..($self->object_config->raft_layers - 2);
}
for (my $i = $#z; $i >= 0; $i--) {
# create other layers (skip raft layers as they're already done and use thicker layers)
for (my $i = $#z; $i >= $self->object_config->raft_layers; $i--) {
my $target_height = $support_material_height;
if ($i > 0 && $top{ $z[$i-1] }) {
$target_height = $nozzle_diameter;