mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 09:02:53 +00:00
Ported Polygon->is_valid() and ExPolygon->is_valid()
This commit is contained in:
@@ -302,7 +302,7 @@ sub bounding_box {
|
||||
[ $copy->[X] + $object->size->[X], $copy->[Y] + $object->size->[Y] ];
|
||||
}
|
||||
}
|
||||
return Slic3r::Geometry::BoundingBox->new_from_points(\@points);
|
||||
return Slic3r::Geometry::BoundingBox->new_from_points([ map Slic3r::Point->new(@$_), @points ]);
|
||||
}
|
||||
|
||||
sub size {
|
||||
|
||||
Reference in New Issue
Block a user