mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
FIX: crash when generating text with thickness <= 0
github: 4122 Change-Id: I0fae6ea234ddb92ef2c2bec6e0f8f7555709ec4f
This commit is contained in:
parent
022c2ff53e
commit
0886610160
2 changed files with 4 additions and 1 deletions
|
@ -386,7 +386,7 @@ bool GLGizmoText::gizmo_event(SLAGizmoEventType action, const Vec2d &mouse_posit
|
|||
return false;
|
||||
|
||||
Plater *plater = wxGetApp().plater();
|
||||
if (!plater)
|
||||
if (!plater || m_thickness <= 0)
|
||||
return true;
|
||||
|
||||
ModelObject *model_object = selection.get_model()->objects[m_object_idx];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue