Fix: ../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1550:17: warning: unused variable 'allow_update_rendered_font' [-Wunused-variable]

This commit is contained in:
Filip Sykala - NTB T15p 2022-11-07 23:12:13 +01:00
parent 8420d26d89
commit 41f0017f07

View File

@ -1546,9 +1546,6 @@ void GLGizmoEmboss::draw_font_list()
}); });
} }
// variable for detect just closed combo box
static bool allow_update_rendered_font = false;
if (ImGui::BeginCombo("##font_selector", selected)) { if (ImGui::BeginCombo("##font_selector", selected)) {
if (!m_face_names.is_init) init_face_names(); if (!m_face_names.is_init) init_face_names();
if (m_face_names.texture_id == 0) init_font_name_texture(); if (m_face_names.texture_id == 0) init_font_name_texture();