mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-30 04:02:52 -06:00
Fix tests
This commit is contained in:
parent
a1a33c2291
commit
0ffb0f6a58
5 changed files with 15 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue