Merge branch 'tm_bugfix_SPE-1617'

This commit is contained in:
tamasmeszaros 2023-03-30 13:00:27 +02:00
commit 47aacbdc5e

View File

@ -511,8 +511,7 @@ void SLAPrint::Steps::slice_model(SLAPrintObject &po)
if(slindex_it == po.m_slice_index.end())
//TRN To be shown at the status bar on SLA slicing error.
throw Slic3r::RuntimeError(
_u8L("Slicing had to be stopped due to an internal error: "
"Inconsistent slice index."));
format(_u8L("Model named: %s can not be sliced. Please check if the model is sane."), po.model_object()->name));
po.m_model_height_levels.clear();
po.m_model_height_levels.reserve(po.m_slice_index.size());