From 72fce85874bf090ac1ed247b05f13cd36999806c Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 31 Mar 2025 14:48:09 +0800 Subject: [PATCH] FIX:empty plate slice state should set to UNSLICED jira: github 6276 Change-Id: I1a25cb2920806fc09f6d666bf043433837190ac2 (cherry picked from commit 61204671b0b462f49363d11e2bff79958bba031c) --- src/slic3r/GUI/GLCanvas3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index a8605f531b..a0161886d4 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -8160,7 +8160,7 @@ void GLCanvas3D::_render_imgui_select_plate_toolbar() m_sel_plate_toolbar.m_items[i]->slice_state = IMToolbarItem::SliceState::SLICE_FAILED; } else { - if (!plate_list.get_plate(i)->can_slice()) + if (plate_list.get_plate(i)->has_printable_instances() && !plate_list.get_plate(i)->can_slice()) m_sel_plate_toolbar.m_items[i]->slice_state = IMToolbarItem::SliceState::SLICE_FAILED; else { if (plate_list.get_plate(i)->get_slicing_percent() < 0.0f)