mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 17:35:59 +08:00
When font is loaded from .3mf it could have different type but it is not problem
This commit is contained in:
parent
a8f87bde22
commit
3f269e0719
@ -2637,7 +2637,6 @@ EmbossDataBase GLGizmoEmboss::create_emboss_data_base() {
|
||||
FontItem &fi = m_style_manager.get_font_item();
|
||||
// actualize font path - during changes in gui it could be corrupted
|
||||
// volume must store valid path
|
||||
assert(fi.type == WxFontUtils::get_actual_type());
|
||||
assert(m_style_manager.get_wx_font().has_value());
|
||||
fi.path = WxFontUtils::store_wxFont(*m_style_manager.get_wx_font());
|
||||
return TextConfiguration{fi, m_text};
|
||||
|
Loading…
x
Reference in New Issue
Block a user