ENH:not show busy info when reload obj file

jira: STUDIO-7216
Change-Id: Ia1a35a51aa924c19414c5bf9b42b414afd510b7f
This commit is contained in:
zhou.xu 2024-06-03 09:22:19 +08:00 committed by Lane.Wei
parent 7750c82ebf
commit a037f0fdbe
1 changed files with 3 additions and 2 deletions

View File

@ -5724,8 +5724,9 @@ void Plater::priv::reload_from_disk()
if (color_dlg.ShowModal() != wxID_OK) { filament_ids.clear(); }
};
wxBusyCursor wait;
wxBusyInfo info(_L("Reload from:") + " " + from_u8(path), q->get_current_canvas3D()->get_wxglcanvas());
if (!boost::iends_with(path, ".obj")) {
wxBusyInfo info(_L("Reload from:") + " " + from_u8(path), q->get_current_canvas3D()->get_wxglcanvas());
}
Model new_model;
try
{