Fix linux

This commit is contained in:
Filip Sykala 2021-10-29 12:13:45 +02:00
parent 9998ae5105
commit b359c0797c
2 changed files with 4 additions and 6 deletions

View File

@ -613,11 +613,10 @@ void GLGizmoEmboss::draw_advanced() {
if (m_font.has_value()) m_font->cache.clear();
process();
}
if (ImGui::InputFloat(_u8L("Emboss[in mm]").c_str(), &m_font_prop.emboss)) process();
if (ImGui::InputInt(_u8L("CharGap[in font points]").c_str(), &m_font_prop.char_gap))
process();
if (ImGui::InputInt(_u8L("LineGap[in font points]").c_str(), &m_font_prop.line_gap))
process();
if (ImGui::InputInt(_u8L("CharGap[in font points]").c_str(), &m_font_prop.char_gap)) process();
if (ImGui::InputInt(_u8L("LineGap[in font points]").c_str(), &m_font_prop.line_gap)) process();
// when more collection add selector
if (m_font.has_value() && m_font->count > 1) {

View File

@ -16,6 +16,7 @@
#include <imgui/imgui.h>
class wxFont;
namespace Slic3r{class AppConfig;}
namespace Slic3r::GUI {
class GLGizmoEmboss : public GLGizmoBase
@ -72,8 +73,6 @@ private:
bool load_configuration(ModelVolume *volume);
// Create notification when unknown font type is used
bool notify_unknown_font_type(ModelVolume *volume);
bool m_exist_notification;
void create_notification_not_valid_font(const TextConfiguration& tc);
void remove_notification_not_valid_font();