mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 11:11:58 +08:00
More meaningful error message if slicing fails in SLA
This commit is contained in:
parent
eec51c67d3
commit
cbd25227c4
@ -511,8 +511,7 @@ 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(
|
throw Slic3r::RuntimeError(
|
||||||
_u8L("Slicing had to be stopped due to an internal error: "
|
format(_u8L("Model named: %s can not be sliced. Please check if the model is sane."), po.model_object()->name));
|
||||||
"Inconsistent slice index."));
|
|
||||||
|
|
||||||
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