From a1f2ecb285daebbac4271a6b145ead6433affcd7 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Thu, 24 Oct 2019 10:38:30 +0200 Subject: [PATCH] ENABLE_THUMBNAIL_GENERATOR -> Fixed color of non printable volumes into thumbnail --- src/slic3r/GUI/ThumbnailGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/ThumbnailGenerator.cpp b/src/slic3r/GUI/ThumbnailGenerator.cpp index 37794dddf..f2a74cae9 100644 --- a/src/slic3r/GUI/ThumbnailGenerator.cpp +++ b/src/slic3r/GUI/ThumbnailGenerator.cpp @@ -89,7 +89,7 @@ void ThumbnailGenerator::render_and_store(const GLVolumePtrs& volumes, bool prin for (const GLVolume* vol : visible_volumes) { - glsafe(::glColor3fv(vol->printable ? orange : gray)); + glsafe(::glColor3fv((vol->printable && !vol->is_outside) ? orange : gray)); vol->render(); }