Merge branch 'tm_ui_job_rework_2' into fs_emboss
# Conflicts: # src/slic3r/CMakeLists.txt # src/slic3r/GUI/Jobs/PlaterJob.cpp
This commit is contained in:
commit
5464b650d1
30 changed files with 1297 additions and 613 deletions
|
@ -571,7 +571,7 @@ void MainFrame::shutdown()
|
|||
#endif // _WIN32
|
||||
|
||||
if (m_plater != nullptr) {
|
||||
m_plater->stop_jobs();
|
||||
m_plater->get_ui_job_worker().cancel_all();
|
||||
|
||||
// Unbinding of wxWidgets event handling in canvases needs to be done here because on MAC,
|
||||
// when closing the application using Command+Q, a mouse event is triggered after this lambda is completed,
|
||||
|
@ -1208,7 +1208,7 @@ void MainFrame::init_menubar_as_editor()
|
|||
|
||||
append_menu_item(import_menu, wxID_ANY, _L("Import SL1 / SL1S Archive") + dots, _L("Load an SL1 / Sl1S archive"),
|
||||
[this](wxCommandEvent&) { if (m_plater) m_plater->import_sl1_archive(); }, "import_plater", nullptr,
|
||||
[this](){return m_plater != nullptr && !m_plater->is_any_job_running(); }, this);
|
||||
[this](){return m_plater != nullptr && m_plater->get_ui_job_worker().is_idle(); }, this);
|
||||
|
||||
import_menu->AppendSeparator();
|
||||
append_menu_item(import_menu, wxID_ANY, _L("Import &Config") + dots + "\tCtrl+L", _L("Load exported configuration file"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue