mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:49:00 +08:00
Avoid garbage error message when generating sla preview
This commit is contained in:
parent
9eed8e4892
commit
49fbf4ccce
@ -305,7 +305,7 @@ void SLAPrint::Steps::generate_preview(SLAPrintObject &po, SLAPrintObjectStep st
|
|||||||
|
|
||||||
bench.stop();
|
bench.stop();
|
||||||
|
|
||||||
if (!m.empty())
|
if (!po.m_preview_meshes[step]->empty())
|
||||||
BOOST_LOG_TRIVIAL(trace) << "Preview gen took: " << bench.getElapsedSec();
|
BOOST_LOG_TRIVIAL(trace) << "Preview gen took: " << bench.getElapsedSec();
|
||||||
else
|
else
|
||||||
BOOST_LOG_TRIVIAL(error) << "Preview failed!";
|
BOOST_LOG_TRIVIAL(error) << "Preview failed!";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user