mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-03 20:40:42 +08:00
trafo probably won't be necessary here
This commit is contained in:
parent
4f4abe3350
commit
4e00c34f45
@ -704,9 +704,6 @@ ModelObject::center_around_origin()
|
||||
Sizef3 size = bb.size();
|
||||
vector.x -= size.x/2;
|
||||
vector.y -= size.y/2;
|
||||
|
||||
TransformationMatrix trafo = TransformationMatrix::mat_translation(-bb.center().x, -bb.center().y, -bb.min.z);
|
||||
|
||||
|
||||
this->translate(vector);
|
||||
this->origin_translation.translate(vector);
|
||||
|
Loading…
x
Reference in New Issue
Block a user