Fix for #8228 - Model errors icon does not go away after proper model reloading

This commit is contained in:
YuSanka 2022-05-02 15:10:24 +02:00
parent 1bf4d61e36
commit 881a5dbf37

View File

@ -3854,6 +3854,9 @@ void Plater::priv::reload_from_disk()
old_model_object->sort_volumes(wxGetApp().app_config->get("order_volumes") == "1"); old_model_object->sort_volumes(wxGetApp().app_config->get("order_volumes") == "1");
sla::reproject_points_and_holes(old_model_object); sla::reproject_points_and_holes(old_model_object);
// Fix warning icon in object list
wxGetApp().obj_list()->update_item_error_icon(obj_idx, vol_idx);
} }
} }
#else #else