From d0a4161f475ad89ec6ef78f017edc1da1d1d3362 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Mon, 12 Jul 2021 10:53:09 +0200 Subject: [PATCH] Follow up (bugfix) of 0d70a2be69119b78277674ea35f9a77a951c2dab GLIndexedVertexArray newly uses Eigen::AlignedBox for efficiency instead of our double based BoundingBoxf3. --- src/slic3r/GUI/3DScene.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/3DScene.hpp b/src/slic3r/GUI/3DScene.hpp index ef4940a0d6..b3c112f393 100644 --- a/src/slic3r/GUI/3DScene.hpp +++ b/src/slic3r/GUI/3DScene.hpp @@ -356,6 +356,7 @@ public: if (! this->indexed_vertex_array.bounding_box().isEmpty()) { out.min = this->indexed_vertex_array.bounding_box().min().cast(); out.max = this->indexed_vertex_array.bounding_box().max().cast(); + out.defined = true; }; return out; }