Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-05-27 17:14:54 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-05-27 17:14:54 +0300
commit3e28b4c967bed04bb1868ed083bc3a37bd625c26 (patch)
tree2f5ccd63b5764056017765db086fe23c897a81d0
parent99301f89f60393c3be9ac9d77fc8434110aa7a77 (diff)
Fix of previous commit
-rw-r--r--src/libslic3r/PrintApply.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::pair<PrintObjectRegions::BoundingBox, bool>> &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) {