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

SLA archive import will now recover the model's original position.

This commit is contained in:
tamasmeszaros
2020-04-29 16:26:39 +02:00
parent 769ee15475
commit 8541ce4060
5 changed files with 20 additions and 11 deletions
+2
View File
@@ -162,6 +162,8 @@ void invert_raster_trafo(ExPolygons & expolys,
coord_t width,
coord_t height)
{
if (trafo.flipXY) std::swap(height, width);
for (auto &expoly : expolys) {
if (trafo.mirror_y)
foreach_vertex(expoly, [height](Point &p) {p.y() = height - p.y(); });