Remap paint after split to objects

This commit is contained in:
Noisyfox
2026-05-09 16:18:49 +08:00
parent bfde91685e
commit c2d33bea08
4 changed files with 12 additions and 4 deletions

View File

@@ -7603,7 +7603,7 @@ void Plater::priv::split_object(int obj_idx, bool auto_drop /* = true */)
wxBusyCursor wait;
ModelObjectPtrs new_objects;
current_model_object->split(&new_objects);
current_model_object->split(&new_objects, wxGetApp().app_config->get_bool("keep_painting"));
if (new_objects.size() == 1)
// #ysFIXME use notification
Slic3r::GUI::warning_catcher(q, _L("The selected object couldn't be split."));