#7326 - Fixed crash when starting GCodeViewer

This commit is contained in:
enricoturri1966 2021-11-22 10:57:38 +01:00
parent 1b7975639e
commit a4baecb340
4 changed files with 21 additions and 13 deletions

View file

@ -1119,6 +1119,8 @@ void GLCanvas3D::reset_volumes()
ModelInstanceEPrintVolumeState GLCanvas3D::check_volumes_outside_state() const
{
assert(m_initialized);
ModelInstanceEPrintVolumeState state;
m_volumes.check_outside_state(m_bed.build_volume(), &state);
return state;