mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Have Clipper.pm only return ExPolygon::XS objects
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user