mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-20 21:14:28 +08:00
Temporary test for performance on Ubuntu
This commit is contained in:
parent
3eb09a9842
commit
b88d2655fb
@ -1243,7 +1243,7 @@ public:
|
|||||||
m_facenames.clear();
|
m_facenames.clear();
|
||||||
m_facenames_bad.clear();
|
m_facenames_bad.clear();
|
||||||
EnumerateFacenames(m_encoding, m_fixed_width_only);
|
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<wxString> &get_face_names() const { return m_facenames; }
|
const std::vector<wxString> &get_face_names() const { return m_facenames; }
|
||||||
@ -1262,10 +1262,10 @@ protected:
|
|||||||
//*
|
//*
|
||||||
// Faster chech if wx_font is loadable but not 100%
|
// Faster chech if wx_font is loadable but not 100%
|
||||||
// names could contain not loadable font
|
// names could contain not loadable font
|
||||||
if (!WxFontUtils::can_load(wx_font)) {
|
//if (!WxFontUtils::can_load(wx_font)) {
|
||||||
m_facenames_bad.emplace_back(facename);
|
// m_facenames_bad.emplace_back(facename);
|
||||||
return true; // can't load
|
// return true; // can't load
|
||||||
}
|
//}
|
||||||
/*/
|
/*/
|
||||||
// Slow copy of font files to try load font
|
// Slow copy of font files to try load font
|
||||||
// After this all files are loadable
|
// After this all files are loadable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user