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