mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 18:06:31 +08:00
apply function call
This commit is contained in:
parent
f607f5d28a
commit
b55b220efc
@ -1074,11 +1074,7 @@ ModelVolume::get_transformed_mesh(TransformationMatrix const * additional_trafo)
|
|||||||
{
|
{
|
||||||
trafo.applyLeft(*(additional_trafo));
|
trafo.applyLeft(*(additional_trafo));
|
||||||
}
|
}
|
||||||
TriangleMesh mesh = TriangleMesh();
|
return this->mesh.get_transformed_mesh(trafo);
|
||||||
std::vector<float> trafo_arr = trafo.matrix3x4f();
|
|
||||||
stl_transform(&(this->mesh.stl), &(mesh.stl), trafo_arr.data());
|
|
||||||
stl_invalidate_shared_vertices(&(mesh.stl));
|
|
||||||
return mesh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
t_model_material_id
|
t_model_material_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user