Fixed assert in imgui when starting Slic3r for the 1st time (no config data saved on disk)
This commit is contained in:
parent
902bcf7f71
commit
710bb66dfc
1 changed files with 3 additions and 0 deletions
|
@ -4159,8 +4159,11 @@ void GLCanvas3D::render()
|
|||
return;
|
||||
|
||||
if (m_bed.get_shape().empty())
|
||||
{
|
||||
// this happens at startup when no data is still saved under <>\AppData\Roaming\Slic3rPE
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_UPDATE_BED_SHAPE));
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_camera.requires_zoom_to_bed)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue