mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 14:55:06 +08:00
Bugfix: bad syntax in last commit. #202
This commit is contained in:
parent
dbb40095b7
commit
0deee20ade
@ -39,10 +39,12 @@ sub group {
|
|||||||
|
|
||||||
sub offset {
|
sub offset {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return map (ref $self)->new(
|
return map {
|
||||||
|
(ref $self)->new(
|
||||||
expolygon => $_,
|
expolygon => $_,
|
||||||
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
|
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
|
||||||
), $self->expolygon->offset_ex(@_);
|
)
|
||||||
|
} $self->expolygon->offset_ex(@_);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub add_hole {
|
sub add_hole {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user