mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-10 02:37:04 +00:00
Use correct bounding box
This commit is contained in:
@@ -8158,7 +8158,7 @@ void Plater::_calib_pa_pattern(const Calib_Params& params)
|
|||||||
center_selection();
|
center_selection();
|
||||||
|
|
||||||
BoundingBoxf3 bbox;
|
BoundingBoxf3 bbox;
|
||||||
for (const ModelObject* obj : print->model().objects) {
|
for (const ModelObject* obj : model().objects) {
|
||||||
for (size_t i = 0; i < obj->instances.size(); ++i) {
|
for (size_t i = 0; i < obj->instances.size(); ++i) {
|
||||||
bbox.merge(obj->instance_bounding_box(i, false));
|
bbox.merge(obj->instance_bounding_box(i, false));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user