Another take to get rid of the templates from the ClipperUtil.hpp

to compile cleanly on OSX.
This commit is contained in:
bubnikv 2016-12-13 22:13:02 +01:00
parent 852b542913
commit 2cd96cabcd
3 changed files with 21 additions and 24 deletions

View file

@ -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 {