mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:26:01 +08:00
Fixed crash when deleting last obejct from plater
This commit is contained in:
parent
0b16ffaa07
commit
0c7095d807
@ -1615,6 +1615,8 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||||||
|
|
||||||
_set_current();
|
_set_current();
|
||||||
|
|
||||||
|
m_hover_volume_idxs.clear();
|
||||||
|
|
||||||
struct ModelVolumeState {
|
struct ModelVolumeState {
|
||||||
ModelVolumeState(const GLVolume* volume) :
|
ModelVolumeState(const GLVolume* volume) :
|
||||||
model_volume(nullptr), geometry_id(volume->geometry_id), volume_idx(-1) {}
|
model_volume(nullptr), geometry_id(volume->geometry_id), volume_idx(-1) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user