diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2018-08-09 10:59:05 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2018-08-09 11:59:00 +0300 |
commit | e678368b233670ab6a707f87b42306964f12d463 (patch) | |
tree | 5b5277b3a2347fa8dcd0517909456adfb41e6513 /xs/src/libnest2d/tools | |
parent | 1764f3b57b49e6c9c4c0a0c86bacf9befe3839d2 (diff) |
fix compilation on linux and macbefore_parallel_arrange
Diffstat (limited to 'xs/src/libnest2d/tools')
-rw-r--r-- | xs/src/libnest2d/tools/svgtools.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xs/src/libnest2d/tools/svgtools.hpp b/xs/src/libnest2d/tools/svgtools.hpp index 3a83caa70..776dd5a1a 100644 --- a/xs/src/libnest2d/tools/svgtools.hpp +++ b/xs/src/libnest2d/tools/svgtools.hpp @@ -56,14 +56,14 @@ public: auto d = static_cast<Coord>( std::round(conf_.height*conf_.mm_in_coord_units) ); - auto& contour = ShapeLike::getContour(tsh); + auto& contour = shapelike::getContour(tsh); for(auto& v : contour) setY(v, -getY(v) + d); - auto& holes = ShapeLike::holes(tsh); + auto& holes = shapelike::holes(tsh); for(auto& h : holes) for(auto& v : h) setY(v, -getY(v) + d); } - currentLayer() += ShapeLike::serialize<Formats::SVG>(tsh, + currentLayer() += shapelike::serialize<Formats::SVG>(tsh, 1.0/conf_.mm_in_coord_units) + "\n"; } |