Skip to content

Commit

Permalink
Fixed crash when deleting last obejct from plater
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoturri1966 committed May 28, 2021
1 parent 0b16ffa commit 0c7095d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/GLCanvas3D.cpp
Expand Up @@ -1615,6 +1615,8 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re

_set_current();

m_hover_volume_idxs.clear();

struct ModelVolumeState {
ModelVolumeState(const GLVolume* volume) :
model_volume(nullptr), geometry_id(volume->geometry_id), volume_idx(-1) {}
Expand Down

0 comments on commit 0c7095d

Please sign in to comment.