Bugfix: only_retract_when_crossing_perimeters might cause some missed retractions when printing multiple copies of the same object. #786

This commit is contained in:
Alessandro Ranellucci 2012-11-16 12:39:55 +01:00
parent a1a12ffe8e
commit 1c2bc94d5a
2 changed files with 13 additions and 1 deletions

View file

@ -67,4 +67,12 @@ sub reverse {
@$self = reverse @$self;
}
sub translate {
my $self = shift;
my ($x, $y) = @_;
@$self = Slic3r::Geometry::move_points([$x, $y], @$self);
bless $_, 'Slic3r::Point' for @$self;
return $self;
}
1;