From b9c3cb89ec0a880c125679fe6edce7a95ddc10e0 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 3 Mar 2025 16:29:47 +0800 Subject: [PATCH] FIX:set "picking" true in pick render jira: none Change-Id: I110f8fe4811280fbc59282752e06330f7f9dc665 --- src/slic3r/GUI/GLCanvas3D.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 5554530fe..a6d2b246f 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -6491,6 +6491,7 @@ void GLCanvas3D::render_thumbnail_internal(ThumbnailData& thumbnail_data, const bool is_active = vol->is_active; vol->is_active = true; + vol->picking = true; const Transform3d matrix = view_matrix * vol->world_matrix(); shader->set_uniform("view_model_matrix", matrix); @@ -6499,6 +6500,7 @@ void GLCanvas3D::render_thumbnail_internal(ThumbnailData& thumbnail_data, const shader->set_uniform("volume_world_matrix", vol->world_matrix()); vol->simple_render(shader, model_objects, extruder_colors); vol->is_active = is_active; + vol->picking = false; } glsafe(::glEnable(GL_CULL_FACE));