mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
More incomplete work to make the plater work with XS data
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user