Add Slic3r:: before union_ex --> needed by linux

This commit is contained in:
Filip Sykala 2021-10-04 14:57:57 +02:00
parent 0ce004c285
commit 976407fdb1
2 changed files with 5 additions and 4 deletions
src/slic3r/GUI/Gizmos

View file

@ -12,6 +12,7 @@
#include "libslic3r/SVG.hpp" // debug store
#include "libslic3r/Model.hpp"
#include "libslic3r/ClipperUtils.hpp" // union_ex
#include "imgui/imgui_stdlib.h" // using std::string for inputs
#include "nanosvg/nanosvg.h" // load SVG file
@ -841,7 +842,7 @@ ExPolygons NSVGUtils::to_ExPolygons(NSVGimage *image,
for (Polygon &polygon : polygons)
for (Point &p : polygon.points) p.y() *= -1;
return union_ex(polygons);
return Slic3r::union_ex(polygons);
}
// any existing icon filename to not influence GUI