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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue