mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: fix the empty plate exception issue when slicing all
Change-Id: I55746b575025fdcc732fa2386cbce45a34bce210
This commit is contained in:
parent
45dd07cfe4
commit
03226c9e43
2 changed files with 6 additions and 2 deletions
|
@ -1334,7 +1334,10 @@ void Print::process(bool use_cache)
|
|||
name_tbb_thread_pool_threads_set_locale();
|
||||
|
||||
//compute the PrintObject with the same geometries
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(": this=%1%, enter, use_cache=%2%")%this%use_cache;
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(": this=%1%, enter, use_cache=%2%, object size=%3%")%this%use_cache%m_objects.size();
|
||||
if (m_objects.empty())
|
||||
return;
|
||||
|
||||
for (PrintObject *obj : m_objects)
|
||||
obj->clear_shared_object();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue