mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 11:15:56 +08:00
Fix crash when changing hollowing thickness
This commit is contained in:
parent
57bdd8df6f
commit
53287002b3
@ -349,6 +349,7 @@ void SLAPrint::Steps::mesh_assembly(SLAPrintObject &po)
|
|||||||
void SLAPrint::Steps::hollow_model(SLAPrintObject &po)
|
void SLAPrint::Steps::hollow_model(SLAPrintObject &po)
|
||||||
{
|
{
|
||||||
po.m_hollowing_data.reset();
|
po.m_hollowing_data.reset();
|
||||||
|
po.m_supportdata.reset();
|
||||||
clear_csg(po.m_mesh_to_slice, slaposDrillHoles);
|
clear_csg(po.m_mesh_to_slice, slaposDrillHoles);
|
||||||
clear_csg(po.m_mesh_to_slice, slaposHollowing);
|
clear_csg(po.m_mesh_to_slice, slaposHollowing);
|
||||||
|
|
||||||
@ -400,6 +401,7 @@ void SLAPrint::Steps::hollow_model(SLAPrintObject &po)
|
|||||||
// Drill holes into the hollowed/original mesh.
|
// Drill holes into the hollowed/original mesh.
|
||||||
void SLAPrint::Steps::drill_holes(SLAPrintObject &po)
|
void SLAPrint::Steps::drill_holes(SLAPrintObject &po)
|
||||||
{
|
{
|
||||||
|
po.m_supportdata.reset();
|
||||||
clear_csg(po.m_mesh_to_slice, slaposDrillHoles);
|
clear_csg(po.m_mesh_to_slice, slaposDrillHoles);
|
||||||
|
|
||||||
csg::model_to_csgmesh(*po.model_object(), po.trafo(),
|
csg::model_to_csgmesh(*po.model_object(), po.trafo(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user