FIX: crash when the text has only spaces STUDIO-3661

Change-Id: Ib433e3afbe8b161f42b0d907e9d78dbc93569cdf
This commit is contained in:
zhimin.zeng
2023-07-25 09:51:59 +08:00
committed by Lane.Wei
parent a92e014369
commit 6fa561c299

View File

@@ -1471,6 +1471,9 @@ void GLGizmoText::generate_text_volume(bool is_temp)
mesh.merge(sub_mesh);
}
if (mesh.empty())
return;
Plater *plater = wxGetApp().plater();
if (!plater)
return;