mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Fix issue with importing sl1 files with non-ascii filenames.
This commit is contained in:
		
							parent
							
								
									fe7e32872b
								
							
						
					
					
						commit
						9aac1b6fa5
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -87,7 +87,7 @@ PNGBuffer read_png(const mz_zip_archive_file_stat &entry, | |||
| } | ||||
| 
 | ||||
| ArchiveData extract_sla_archive(const std::string &zipfname, | ||||
|                                  const std::string &exclude) | ||||
|                                 const std::string &exclude) | ||||
| { | ||||
|     ArchiveData arch; | ||||
| 
 | ||||
|  |  | |||
|  | @ -178,7 +178,7 @@ void SLAImportJob::prepare() | |||
|     if (dlg.ShowModal() == wxID_OK) { | ||||
|         auto path = dlg.get_path(); | ||||
|         auto nm = wxFileName(path); | ||||
|         p->path = !nm.Exists(wxFILE_EXISTS_REGULAR) ? "" : path.ToUTF8(); | ||||
|         p->path = !nm.Exists(wxFILE_EXISTS_REGULAR) ? "" : nm.GetFullPath(); | ||||
|         p->sel  = dlg.get_selection(); | ||||
|         p->win  = dlg.get_marchsq_windowsize(); | ||||
|     } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros