diff options
author | bubnikv <bubnikv@gmail.com> | 2016-12-13 21:22:23 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-12-13 21:22:23 +0300 |
commit | 6582182e0c47ffd231c2d84808715a4209108fe2 (patch) | |
tree | f18581f104edc74812308a574a4fc1831797c182 /xs/src/perlglue.cpp | |
parent | b2a5a1d22f67eba636d41f49c7684f2480fd3242 (diff) |
Adapted to the new ClipperUtils.hpp interface by @alexrj
Diffstat (limited to 'xs/src/perlglue.cpp')
-rw-r--r-- | xs/src/perlglue.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xs/src/perlglue.cpp b/xs/src/perlglue.cpp index 1544a2608..df4eab4c8 100644 --- a/xs/src/perlglue.cpp +++ b/xs/src/perlglue.cpp @@ -532,8 +532,7 @@ SV* polynode2perl(const ClipperLib::PolyNode& node) { HV* hv = newHV(); - Slic3r::Polygon p; - ClipperPath_to_Slic3rMultiPoint(node.Contour, &p); + Slic3r::Polygon p = ClipperPath_to_Slic3rMultiPoint<Slic3r::Polygon>(node.Contour); if (node.IsHole()) { (void)hv_stores( hv, "hole", Slic3r::perl_to_SV_clone_ref(p) ); } else { |