From 1a285dd5f1833fad6023acdabc53e220dae054d6 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Wed, 26 Oct 2022 09:47:26 +0200 Subject: [PATCH] Revert "Temporary test for performance on Ubuntu" This reverts commit b88d2655fbbf71338b6d17a3db56212d5b87d22f. --- 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 5caf07fbea..6bc837e843 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