mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
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)
This commit is contained in:
parent
ba882b8ca2
commit
43b1464bf3
1 changed files with 0 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue