mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
WIP: Fixed some issues with cancelation & restart of background processing.
This commit is contained in:
parent
6ae1517e13
commit
f2b0904d12
4 changed files with 67 additions and 14 deletions
|
@ -81,6 +81,10 @@ public:
|
|||
private:
|
||||
void thread_proc();
|
||||
void join_background_thread();
|
||||
// To be called by Print::apply() through the Print::m_cancel_callback to stop the background
|
||||
// processing before changing any data of running or finalized milestones.
|
||||
// This function shall not trigger any UI update through the wxWidgets event.
|
||||
void stop_internal();
|
||||
|
||||
Print *m_print = nullptr;
|
||||
// Data structure, to which the G-code export writes its annotations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue