mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Have Clipper.pm only return ExPolygon::XS objects
This commit is contained in:
parent
9dc1a3c69d
commit
a1e4bda670
8 changed files with 22 additions and 16 deletions
|
@ -40,7 +40,7 @@ sub clone {
|
|||
|
||||
return (ref $self)->new(
|
||||
(map { $_ => $self->$_ } qw(surface_type thickness thickness_layers bridge_angle)),
|
||||
expolygon => ($p{expolygon} ? delete $p{expolygon} : $self->expolygon->clone),
|
||||
expolygon => (defined $p{expolygon} ? delete $p{expolygon} : $self->expolygon->clone),
|
||||
%p,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue