diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index ec49f0579d..d58e5ed0d9 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -8048,7 +8048,12 @@ void GLCanvas3D::render_thumbnail_internal(ThumbnailData& thumbnail_data, const shader->set_uniform("projection_matrix", projection_matrix); const Matrix3d view_normal_matrix = view_matrix.matrix().block(0, 0, 3, 3) * model_matrix.matrix().block(0, 0, 3, 3).inverse().transpose(); shader->set_uniform("view_normal_matrix", view_normal_matrix); + // ORCA simple_render() brightens the painted colors of a selected volume + // A thumbnail shows the filament colors, so the selection highlight must stay out of it + const bool is_selected = vol->selected; + vol->selected = false; vol->simple_render(shader, model_objects, extruder_colors, ban_light); + vol->selected = is_selected; vol->is_active = is_active; } shader->stop_using();