mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 18:50:45 +08:00
Actually do the unscaled point conversion -.-;
This commit is contained in:
parent
168e7913de
commit
2fb6b8103e
@ -292,7 +292,7 @@ std::vector<wxPoint> Plate2D::scaled_points_to_pixel(const Slic3r::Polyline& pol
|
||||
for (const auto& pt : poly.points) {
|
||||
const auto x {_unscale ? Slic3r::unscale(pt.x) : pt.x};
|
||||
const auto y {_unscale ? Slic3r::unscale(pt.y) : pt.y};
|
||||
result.push_back(wxPoint(x, y));
|
||||
result.push_back(unscaled_point_to_pixel(wxPoint(x, y)));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user