parent
d99d22a901
commit
76fdc207fb
@ -1,4 +1,5 @@
|
||||
#include "Plater.hpp"
|
||||
#include "slic3r/GUI/Jobs/UIThreadWorker.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <algorithm>
|
||||
@ -6291,7 +6292,9 @@ void Plater::cut(size_t obj_idx, const ModelObjectPtrs& new_objects)
|
||||
for (size_t i = 0; i < new_objects.size(); ++i)
|
||||
selection.add_object((unsigned int)(last_id - i), i == 0);
|
||||
|
||||
arrange();
|
||||
UIThreadWorker w;
|
||||
replace_job(w, std::make_unique<ArrangeJob>(ArrangeJob::SelectionOnly));
|
||||
w.process_events();
|
||||
}
|
||||
|
||||
void Plater::export_gcode(bool prefer_removable)
|
||||
|
Loading…
Reference in New Issue
Block a user