mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Bugfix: fatal error when offsetting a surface results in more than one expolygon. #201
This commit is contained in:
@@ -39,10 +39,10 @@ sub group {
|
||||
|
||||
sub offset {
|
||||
my $self = shift;
|
||||
return (ref $self)->new(
|
||||
expolygon => $self->expolygon->offset_ex(@_),
|
||||
return map (ref $self)->new(
|
||||
expolygon => $_,
|
||||
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
|
||||
);
|
||||
), $self->expolygon->offset_ex(@_);
|
||||
}
|
||||
|
||||
sub add_hole {
|
||||
|
||||
Reference in New Issue
Block a user