From 43b1464bf356d53dd602de41ad79492c6f6a5271 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 10 Jul 2023 09:45:20 +0800 Subject: [PATCH] FIX: deleted plate name donot update fix the issue of deleting plate name after entering some character Change-Id: I572a922b05b3f5e83ad956a7b4fb197430f13df5 (cherry picked from commit bfb5f58e1d29a6f518915882736453fe425ad984) --- src/slic3r/GUI/PartPlate.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index 91f84cdd39..a1107b53ec 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -827,13 +827,6 @@ void PartPlate::render_icon_texture(int position_id, int tex_coords_id, const Ge void PartPlate::render_plate_name_texture(int position_id, int tex_coords_id) { - if (m_name.length() == 0) { - if (m_name_change) { - m_name_change = false; - calc_vertex_for_plate_name_edit_icon(nullptr, 0, m_plate_name_edit_icon); - } - return; - } if (m_name_change == true) { m_name_change = false; if (m_plate_name_vbo_id > 0) {