1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Fixed some instance of simplify_polygons() invocation.

Geometry::deg2rad() made a template.
Some methods of Layer made inline.
Added a helper template remove_nulls().
This commit is contained in:
bubnikv
2017-03-22 15:35:09 +01:00
parent 6b99cbdc02
commit 04cd474708
7 changed files with 17 additions and 54 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ ExPolygon::simplify_p(double tolerance) const
p.points.pop_back();
pp.push_back(p);
}
simplify_polygons(pp, &pp);
pp = simplify_polygons(pp);
return pp;
}