Cancel only text update job
This commit is contained in:
parent
feb9eda0c8
commit
394a59d44f
4 changed files with 143 additions and 76 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
|
||||
#include "libslic3r/Emboss.hpp"
|
||||
#include "libslic3r/Point.hpp"
|
||||
|
@ -207,7 +208,7 @@ private:
|
|||
std::string m_text;
|
||||
|
||||
// cancel for previous update of volume to cancel finalize part
|
||||
std::shared_ptr<bool> m_update_job_cancel;
|
||||
std::shared_ptr<std::atomic<bool>> m_update_job_cancel;
|
||||
|
||||
// actual volume
|
||||
ModelVolume *m_volume;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue