Cancel only text update job

This commit is contained in:
Filip Sykala 2022-03-29 17:05:24 +02:00
parent feb9eda0c8
commit 394a59d44f
4 changed files with 143 additions and 76 deletions

View file

@ -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;