mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 04:54:08 -06:00
Satisfy test suite
This commit is contained in:
parent
2956c1a2e5
commit
1a690589a8
4 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue