Make a PlaterWorker to handle PlaterJobs
This commit is contained in:
parent
a802bdc764
commit
3be7d5f0dc
3 changed files with 72 additions and 57 deletions
|
@ -545,8 +545,8 @@ GLGizmoRotate3D::RotoptimzeWindow::RotoptimzeWindow(ImGuiWrapper * imgui,
|
|||
imgui->disabled_begin(true);
|
||||
|
||||
if ( imgui->button(btn_txt) ) {
|
||||
auto p = wxGetApp().plater();
|
||||
replace_job<RotoptimizeJob>(*p);
|
||||
replace_job(wxGetApp().plater()->get_ui_job_worker(),
|
||||
std::make_unique<RotoptimizeJob>());
|
||||
}
|
||||
|
||||
imgui->disabled_end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue