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