From b88d2655fbbf71338b6d17a3db56212d5b87d22f Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Wed, 26 Oct 2022 09:08:21 +0200 Subject: [PATCH] Temporary test for performance on Ubuntu --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index 6bc837e843..5caf07fbea 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -1243,7 +1243,7 @@ public: m_facenames.clear(); m_facenames_bad.clear(); EnumerateFacenames(m_encoding, m_fixed_width_only); - std::sort(m_facenames.begin(), m_facenames.end()); + //std::sort(m_facenames.begin(), m_facenames.end()); } const std::vector &get_face_names() const { return m_facenames; } @@ -1262,10 +1262,10 @@ protected: //* // Faster chech if wx_font is loadable but not 100% // names could contain not loadable font - if (!WxFontUtils::can_load(wx_font)) { - m_facenames_bad.emplace_back(facename); - return true; // can't load - } + //if (!WxFontUtils::can_load(wx_font)) { + // m_facenames_bad.emplace_back(facename); + // return true; // can't load + //} /*/ // Slow copy of font files to try load font // After this all files are loadable