mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Follow-up of 763a91e2ca
-> take in account of ModelObject::origin_translation when saving parts and modifiers to stl
This commit is contained in:
parent
88059baddb
commit
a9223aeb5f
3 changed files with 11 additions and 4 deletions
|
@ -273,6 +273,11 @@ void TriangleMesh::translate(float x, float y, float z)
|
|||
stl_invalidate_shared_vertices(&this->stl);
|
||||
}
|
||||
|
||||
void TriangleMesh::translate(const Vec3f &displacement)
|
||||
{
|
||||
translate(displacement(0), displacement(1), displacement(2));
|
||||
}
|
||||
|
||||
void TriangleMesh::rotate(float angle, const Axis &axis)
|
||||
{
|
||||
if (angle == 0.f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue