mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Fix fill bed and disable arranging after adding / removing instances (#11619)
This commit is contained in:
@@ -342,7 +342,7 @@ void FillBedJob::finalize(bool canceled, std::exception_ptr &eptr)
|
||||
//model_object->ensure_on_bed();
|
||||
//BOOST_LOG_TRIVIAL(debug) << __FUNCTION__ << ": model_object->ensure_on_bed()";
|
||||
|
||||
if (m_instances && wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
if (m_instances) {// && wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
m_plater->set_prepare_state(Job::PREPARE_STATE_MENU);
|
||||
m_plater->arrange();
|
||||
}
|
||||
|
||||
@@ -14102,10 +14102,10 @@ void Plater::increase_instances(size_t num)
|
||||
|
||||
p->selection_changed();
|
||||
this->p->schedule_background_process();
|
||||
if (wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
this->set_prepare_state(Job::PREPARE_STATE_MENU);
|
||||
this->arrange();
|
||||
}
|
||||
//if (wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
// this->set_prepare_state(Job::PREPARE_STATE_MENU);
|
||||
// this->arrange();
|
||||
//}
|
||||
}
|
||||
|
||||
void Plater::decrease_instances(size_t num)
|
||||
@@ -14133,10 +14133,10 @@ void Plater::decrease_instances(size_t num)
|
||||
|
||||
p->selection_changed();
|
||||
this->p->schedule_background_process();
|
||||
if (wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
this->set_prepare_state(Job::PREPARE_STATE_MENU);
|
||||
this->arrange();
|
||||
}
|
||||
//if (wxGetApp().app_config->get("auto_arrange") == "true") {
|
||||
// this->set_prepare_state(Job::PREPARE_STATE_MENU);
|
||||
// this->arrange();
|
||||
//}
|
||||
}
|
||||
|
||||
static long GetNumberFromUser( const wxString& msg,
|
||||
|
||||
Reference in New Issue
Block a user