mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:45:52 +08:00
Fix crash
This commit is contained in:
parent
b2ef76f4d0
commit
0989a6f5df
@ -409,7 +409,8 @@ void SLAPrint::Steps::drill_holes(SLAPrintObject &po)
|
|||||||
po.m_preview_meshes[slaposDrillHoles] = po.get_mesh_to_print();
|
po.m_preview_meshes[slaposDrillHoles] = po.get_mesh_to_print();
|
||||||
|
|
||||||
// Release the data, won't be needed anymore, takes huge amount of ram
|
// Release the data, won't be needed anymore, takes huge amount of ram
|
||||||
po.m_hollowing_data->interior.reset();
|
if (po.m_hollowing_data && po.m_hollowing_data->interior)
|
||||||
|
po.m_hollowing_data->interior.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Pred>
|
template<class Pred>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user