mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fixed import from 3mf of rotated models
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user