Satisfy test suite

This commit is contained in:
Alessandro Ranellucci 2013-12-24 12:03:30 +01:00
parent 2956c1a2e5
commit 1a690589a8
4 changed files with 8 additions and 1 deletions

View file

@ -13,6 +13,11 @@ sub infill_direction {
my $self = shift;
my ($surface) = @_;
if (!defined $self->angle) {
warn "Using undefined infill angle";
$self->angle(0);
}
# set infill angle
my (@rotate, @shift);
$rotate[0] = Slic3r::Geometry::deg2rad($self->angle);