mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06: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:
parent
6b99cbdc02
commit
04cd474708
7 changed files with 17 additions and 54 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue