mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:26:06 +08:00
Improve error message when SLA-slicing a broken mesh (SPE-2680)
This commit is contained in:
parent
dba7c3baaa
commit
ccfcb4bf9d
@ -512,7 +512,8 @@ void SLAPrint::Steps::slice_model(SLAPrintObject &po)
|
|||||||
|
|
||||||
if(slindex_it == po.m_slice_index.end())
|
if(slindex_it == po.m_slice_index.end())
|
||||||
//TRN To be shown at the status bar on SLA slicing error.
|
//TRN To be shown at the status bar on SLA slicing error.
|
||||||
throw Slic3r::RuntimeError(format("Model named: %s can not be sliced. Please check if the model is sane.", po.model_object()->name));
|
throw Slic3r::RuntimeError(format("Model named: %s can not be sliced. This can be caused by the model mesh being broken. "
|
||||||
|
"Repairing it might fix the problem.", po.model_object()->name));
|
||||||
|
|
||||||
po.m_model_height_levels.clear();
|
po.m_model_height_levels.clear();
|
||||||
po.m_model_height_levels.reserve(po.m_slice_index.size());
|
po.m_model_height_levels.reserve(po.m_slice_index.size());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user