From 02a932a3a6b74bbbae3bb9623c0effb25b5be0bc Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Mon, 7 May 2018 21:31:19 -0500 Subject: [PATCH] Fixed inverted logic; abort if there aren't any transformed thumbnails. --- src/GUI/Plater/Plate2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/Plater/Plate2D.cpp b/src/GUI/Plater/Plate2D.cpp index bd3cf10fb..54f8fd8c3 100644 --- a/src/GUI/Plater/Plate2D.cpp +++ b/src/GUI/Plater/Plate2D.cpp @@ -106,7 +106,7 @@ void Plate2D::repaint(wxPaintEvent& e) { continue; // if there's no thumbnail move on for (size_t instance_idx = 0U; instance_idx < model_object->instances.size(); instance_idx++) { auto& instance {model_object->instances.at(instance_idx)}; - if (obj.transformed_thumbnail.expolygons.size()) continue; + if (obj.transformed_thumbnail.expolygons.size() == 0) continue; auto thumbnail {obj.transformed_thumbnail}; // starts in unscaled model coords thumbnail.translate(Point::new_scale(instance->offset));