mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Fix tests
This commit is contained in:
@@ -209,6 +209,7 @@ sub medial_axis {
|
||||
|
||||
# cleanup
|
||||
$polyline = Slic3r::Geometry::douglas_peucker($polyline, $width / 7);
|
||||
$polyline = Slic3r::Polyline->new(@$polyline);
|
||||
|
||||
if (Slic3r::Geometry::same_point($polyline->first_point, $polyline->last_point)) {
|
||||
next if @$polyline == 2;
|
||||
|
||||
Reference in New Issue
Block a user