Trigger background processing update when switching to a preview tab.

Implements "Go Direct to the preview screen after slicing #152"
This commit is contained in:
bubnikv 2018-12-11 17:49:31 +01:00
parent 2b9319eea1
commit 09c539a242
7 changed files with 27 additions and 6 deletions

View file

@ -285,6 +285,8 @@ public:
void cancel_internal() { m_cancel_status = CANCELED_INTERNAL; }
// Cancel the running computation. Stop execution of all the background threads.
void restart() { m_cancel_status = NOT_CANCELED; }
// Returns true if the last step was finished with success.
virtual bool finished() const = 0;
const PlaceholderParser& placeholder_parser() const { return m_placeholder_parser; }
PlaceholderParser& placeholder_parser() { return m_placeholder_parser; }