mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-08-01 11:25:50 +00:00
fix compilation on linux and mac
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user