mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 09:35:57 +08:00
Fixing the slice_mesh() after recent refactoring.
This commit is contained in:
parent
31942e03db
commit
116e2b2112
@ -1075,7 +1075,7 @@ std::vector<Polygons> slice_mesh(
|
|||||||
auto t = params.trafo;
|
auto t = params.trafo;
|
||||||
t.prescale(Vec3d(s, s, 1.));
|
t.prescale(Vec3d(s, s, 1.));
|
||||||
auto tf = t.cast<float>();
|
auto tf = t.cast<float>();
|
||||||
slice_make_lines(mesh.vertices, [tf](const Vec3f &p) { return tf * p; }, mesh.indices, facets_edges, zs, throw_on_cancel);
|
lines = slice_make_lines(mesh.vertices, [tf](const Vec3f &p) { return tf * p; }, mesh.indices, facets_edges, zs, throw_on_cancel);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Copy and scale vertices in XY, don't scale in Z.
|
// Copy and scale vertices in XY, don't scale in Z.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user