mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-24 05:43:12 +08:00
More trace for detect place of crash on Mac
This commit is contained in:
parent
b5ec9ad882
commit
6300396707
@ -174,8 +174,11 @@ std::string WxFontUtils::store_wxFont(const wxFont &font)
|
|||||||
|
|
||||||
wxFont WxFontUtils::load_wxFont(const std::string &font_descriptor)
|
wxFont WxFontUtils::load_wxFont(const std::string &font_descriptor)
|
||||||
{
|
{
|
||||||
|
BOOST_LOG_TRIVIAL(trace) << "'" << font_descriptor << "'font descriptor string param of load_wxFont()";
|
||||||
wxString font_descriptor_wx(font_descriptor);
|
wxString font_descriptor_wx(font_descriptor);
|
||||||
|
BOOST_LOG_TRIVIAL(trace) << "'" << font_descriptor_wx.c_str() << "' wx string descriptor";
|
||||||
wxFont wx_font(font_descriptor_wx);
|
wxFont wx_font(font_descriptor_wx);
|
||||||
|
BOOST_LOG_TRIVIAL(trace) << "loaded font is '" << get_human_readable_name(wx_font) << "'.";
|
||||||
return wx_font;
|
return wx_font;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user