fix(stable): wx 3.3.2 wxArrayString-Konstruktor in Plater (Pointer statt Wert)

This commit is contained in:
thysson2701
2026-06-11 21:45:47 +02:00
parent 830801e3d2
commit d84a0a3a55

View File

@@ -12128,7 +12128,7 @@ void Plater::import_model_id(wxString download_info)
/* load project */
// Orca: If download is a zip file, treat it as if file has been drag and dropped on the plater
if (target_path.extension() == ".zip")
this->load_files(wxArrayString(1, wxString(target_path.string())));
{ wxString s(target_path.string()); this->load_files(wxArrayString(1, &s)); }
else
this->load_project(target_path.wstring());
/*BBS set project info after load project, project info is reset in load project */