Fix a preview issue when the plate has some error after another plate sliced

Change-Id: I66a5824b0b62afb854fa2649b72942c4beeccaca
This commit is contained in:
lane.wei 2022-09-28 17:26:30 +08:00 committed by Lane.Wei
parent b6a077b128
commit 8caa6347bb
1 changed files with 9 additions and 8 deletions

View File

@ -8727,6 +8727,7 @@ void Plater::reslice()
if (p->process_completed_with_error) if (p->process_completed_with_error)
{ {
BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << boost::format(": process_completed_with_error, return directly"); BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << boost::format(": process_completed_with_error, return directly");
reset_gcode_toolpaths();
return; return;
} }