More incomplete work to make the plater work with XS data

This commit is contained in:
Alessandro Ranellucci committed 2013-07-11 16:48:44 +02:00
1 parent 8d171a297e
commit 1506907212
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -329,7 +329,10 @@ sub scale {
sub rotate {
my $self = shift;
$_->rotate(@_) for @{$self->expolygons};
my ($angle, $center) = @_;
$center = Slic3r::Point::XS->new(@$center) if ref($center) ne 'Slic3r::Point::XS';
$_->rotate($angle, $center) for @{$self->expolygons};
$self;
}