1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Fixed import from 3mf of rotated models

This commit is contained in:
Enrico Turri
2018-12-14 09:52:15 +01:00
parent f3e238073b
commit 07943ae669
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ void Model::adjust_min_z()
{
coordf_t obj_min_z = obj->bounding_box().min(2);
if (obj_min_z < 0.0)
obj->translate(0.0, 0.0, -obj_min_z);
obj->translate_instances(Vec3d(0.0, 0.0, -obj_min_z));
}
}
}