When synchronizing the front end with the back end after Undo / Redo

jump, postpone error messages, so they are displayed after
the Undo / Redo jump has been fully performed.
Otherwise there would be a message box opening, taking over the message
queue, and possibly performing actions as rendering on an inconsistent
application state.
This commit is contained in:
bubnikv 2019-08-23 15:53:45 +02:00
parent bb6cde789d
commit 6adebb9c78
5 changed files with 42 additions and 26 deletions

View file

@ -186,7 +186,7 @@ public:
bool has_toolpaths_to_export() const;
void export_toolpaths_to_obj() const;
void reslice();
void reslice_SLA_supports(const ModelObject &object);
void reslice_SLA_supports(const ModelObject &object, bool postpone_error_messages = false);
void changed_object(int obj_idx);
void changed_objects(const std::vector<size_t>& object_idxs);
void schedule_background_process(bool schedule = true);