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

Fixed compilation of ClipperUtils on GCC, which is more strict

than VS2013 compiler.
This commit is contained in:
bubnikv
2016-12-13 19:52:28 +01:00
parent e64dcf5e59
commit ddea33d93a
+2 -1
View File
@@ -463,7 +463,8 @@ ExPolygons
_clipper_ex(ClipperLib::ClipType clipType, const Polygons &subject,
const Polygons &clip, bool safety_offset_)
{
return PolyTreeToExPolygons(_clipper_do<ClipperLib::PolyTree>(clipType, subject, clip, ClipperLib::pftNonZero, safety_offset_));
ClipperLib::PolyTree polytree = _clipper_do<ClipperLib::PolyTree>(clipType, subject, clip, ClipperLib::pftNonZero, safety_offset_);
return PolyTreeToExPolygons(polytree);
}
Polylines