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
path: root/src
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-05-25 22:17:07 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-05-25 22:17:07 +0300
commit8ab6a615d0f9b68033e6ee0fa3b5b7edf4e424bd (patch)
tree822e62efbcdfc304757cfbb94b18fd103439ceca /src
parentdd79a2b8322ef2a8990a3e4c195a5510f69b8ed7 (diff)
Fixed another compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/libslic3r/PrintObjectSlice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libslic3r/PrintObjectSlice.cpp b/src/libslic3r/PrintObjectSlice.cpp
index 2062b1d02..5960853d2 100644
--- a/src/libslic3r/PrintObjectSlice.cpp
+++ b/src/libslic3r/PrintObjectSlice.cpp
@@ -385,13 +385,14 @@ static std::vector<std::vector<ExPolygons>> slices_to_regions(
temp_slices[i].region_id == temp_slices[j].region_id &&
(clip_multipart_objects || temp_slices[i].volume_id == temp_slices[j].volume_id);
++ j)
- if (ExPolygons &expolygons2 = temp_slices[j].expolygons; ! expolygons2.empty())
+ if (ExPolygons &expolygons2 = temp_slices[j].expolygons; ! expolygons2.empty()) {
if (expolygons.empty()) {
expolygons = std::move(expolygons2);
} else {
append(expolygons, std::move(expolygons2));
merged = true;
}
+ }
if (merged)
expolygons = offset2_ex(expolygons, float(scale_(EPSILON)), -float(scale_(EPSILON)));
slices_by_region[temp_slices[i].region_id][z_idx] = std::move(expolygons);