mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Bugfix: objects were floating in STL export after rotation and flip. #2512
This commit is contained in:
parent
9f4f711017
commit
64c9e3af4b
5 changed files with 13 additions and 4 deletions
|
@ -520,6 +520,9 @@ ModelObject::scale(const Pointf3 &versor)
|
|||
for (ModelVolumePtrs::const_iterator v = this->volumes.begin(); v != this->volumes.end(); ++v) {
|
||||
(*v)->mesh.scale(versor);
|
||||
}
|
||||
|
||||
// reset origin translation since it doesn't make sense anymore
|
||||
this->origin_translation = Pointf3(0,0,0);
|
||||
this->invalidate_bounding_box();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue