From 3e28b4c967bed04bb1868ed083bc3a37bd625c26 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 27 May 2021 16:14:54 +0200 Subject: [PATCH] Fix of previous commit --- src/libslic3r/PrintApply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintApply.cpp b/src/libslic3r/PrintApply.cpp index ea1598afe..0fe2c5b29 100644 --- a/src/libslic3r/PrintApply.cpp +++ b/src/libslic3r/PrintApply.cpp @@ -504,7 +504,7 @@ static void transformed_its_bboxes_in_z_ranges( std::vector> &bboxes, const float offset) { - bboxes.assign(z_ranges.size(), std::make_pair(PrintObjectRegions::BoundingBox, false)); + bboxes.assign(z_ranges.size(), std::make_pair(PrintObjectRegions::BoundingBox(), false)); for (const stl_triangle_vertex_indices &tri : its.indices) { const Vec3f pts[3] = { m * its.vertices[tri(0)], m * its.vertices[tri(1)], m * its.vertices[tri(2)] }; for (size_t irange = 0; irange < z_ranges.size(); ++ irange) {