FIX: do not reset thumbnails when using exported file

Change-Id: I4d8c7ccdf21b92354bd0c2c816665db2d2a4a958
This commit is contained in:
Stone Li 2022-12-05 20:33:07 +08:00 committed by Lane.Wei
parent dcb9862410
commit 08b40dc5e8

View file

@ -5221,7 +5221,8 @@ void Plater::priv::set_current_panel(wxPanel* panel, bool no_slice)
notification_manager->set_in_preview(false);
}
else if (current_panel == preview) {
q->invalid_all_plate_thumbnails();
if (!q->using_exported_file())
q->invalid_all_plate_thumbnails();
if (old_panel == view3D)
view3D->get_canvas3d()->unbind_event_handlers();
else if (old_panel == assemble_view)