From f159e3499891b7696f7ebeb11f2e04dcca0e3115 Mon Sep 17 00:00:00 2001 From: thewildmage Date: Wed, 5 Jul 2023 21:06:02 -0600 Subject: [PATCH] Use correct bounding box --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index d3c570375a..3c47a11291 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -8158,7 +8158,7 @@ void Plater::_calib_pa_pattern(const Calib_Params& params) center_selection(); 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) { bbox.merge(obj->instance_bounding_box(i, false)); }