mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
ENH:synced some N1 codes
jira:[sync] Change-Id: I94aed7f068e76cb28459ec77448c89f922134414
This commit is contained in:
parent
95a235ee8a
commit
b048992715
8 changed files with 47 additions and 26 deletions
|
@ -310,6 +310,9 @@ std::map<std::string, std::vector<json>> ProjectPanel::Reload(wxString aux_path)
|
|||
pfile_obj["filename"] = wxGetApp().url_encode(file_path_obj.filename().string().c_str());
|
||||
pfile_obj["size"] = formatBytes((unsigned long)filelen);
|
||||
|
||||
std::string file_extension = file_path_obj.extension().string();
|
||||
boost::algorithm::to_lower(file_extension);
|
||||
|
||||
//image
|
||||
if (file_extension == ".jpg" ||
|
||||
file_extension == ".jpeg" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue