Fix init after set

This commit is contained in:
Filip Sykala - NTB T15p 2023-05-09 13:43:57 +02:00
parent 5a517e71de
commit cf57bf02ff

View File

@ -1204,12 +1204,12 @@ void GLGizmoEmboss::set_volume_by_selection()
m_job_cancel = nullptr;
}
if (tc.style.prop.per_glyph)
init_text_lines();
m_text = tc.text;
m_volume = volume;
m_volume_id = volume->id();
if (tc.style.prop.per_glyph)
init_text_lines();
// Calculate current angle of up vector
assert(m_style_manager.is_active_font());