Bugfix: infill direction wasn't correctly alternated when infilling every 2 layers. #1068

This commit is contained in:
Alessandro Ranellucci 2013-03-29 19:24:08 +01:00
parent 1b79b1cb20
commit 5beb2187d3

View file

@ -28,7 +28,7 @@ sub new {
my $self = [
map delete $args{$_}, qw(expolygon surface_type thickness thickness_layers bridge_angle extra_perimeters),
];
$self->[S_THICKNESS_LAYERS] = 1;
$self->[S_THICKNESS_LAYERS] //= 1;
bless $self, $class;
$self;