From 53287002b30faeee43509e7a3ba486c31d269d65 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 17 Jan 2023 17:18:29 +0100 Subject: [PATCH] Fix crash when changing hollowing thickness --- src/libslic3r/SLAPrintSteps.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libslic3r/SLAPrintSteps.cpp b/src/libslic3r/SLAPrintSteps.cpp index 8a71f2da78..269195bc01 100644 --- a/src/libslic3r/SLAPrintSteps.cpp +++ b/src/libslic3r/SLAPrintSteps.cpp @@ -349,6 +349,7 @@ void SLAPrint::Steps::mesh_assembly(SLAPrintObject &po) void SLAPrint::Steps::hollow_model(SLAPrintObject &po) { po.m_hollowing_data.reset(); + po.m_supportdata.reset(); clear_csg(po.m_mesh_to_slice, slaposDrillHoles); 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. void SLAPrint::Steps::drill_holes(SLAPrintObject &po) { + po.m_supportdata.reset(); clear_csg(po.m_mesh_to_slice, slaposDrillHoles); csg::model_to_csgmesh(*po.model_object(), po.trafo(),