Fixing the slice_mesh() after recent refactoring.
This commit is contained in:
parent
31942e03db
commit
116e2b2112
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ std::vector<Polygons> slice_mesh(
|
|||
auto t = params.trafo;
|
||||
t.prescale(Vec3d(s, s, 1.));
|
||||
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 {
|
||||
// Copy and scale vertices in XY, don't scale in Z.
|
||||
|
|
Loading…
Reference in a new issue