mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Another take to get rid of the templates from the ClipperUtil.hpp
to compile cleanly on OSX.
This commit is contained in:
parent
852b542913
commit
2cd96cabcd
3 changed files with 21 additions and 24 deletions
|
@ -532,7 +532,7 @@ SV*
|
|||
polynode2perl(const ClipperLib::PolyNode& node)
|
||||
{
|
||||
HV* hv = newHV();
|
||||
Slic3r::Polygon p = ClipperPath_to_Slic3rMultiPoint<Slic3r::Polygon>(node.Contour);
|
||||
Slic3r::Polygon p = ClipperPath_to_Slic3rPolygon(node.Contour);
|
||||
if (node.IsHole()) {
|
||||
(void)hv_stores( hv, "hole", Slic3r::perl_to_SV_clone_ref(p) );
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue