Close updated item info notification at new item loading

This commit is contained in:
David Kocik 2021-09-30 17:29:34 +02:00
parent 5a45c94ccd
commit b1c1055963
3 changed files with 11 additions and 1 deletions

View file

@ -2600,6 +2600,7 @@ std::vector<size_t> Plater::priv::load_model_objects(const ModelObjectPtrs& mode
// so 3D-scene should be updated before object additing to the ObjectList
this->view3D->reload_scene(false, (unsigned int)UpdateParams::FORCE_FULL_SCREEN_REFRESH);
notification_manager->close_notification_of_type(NotificationType::UpdatedItemsInfo);
for (const size_t idx : obj_idxs) {
wxGetApp().obj_list()->add_object_to_list(idx);
}