mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	fix crashing issue when the model's path has Unicode characters on third party printers.
This commit is contained in:
		
							parent
							
								
									8a81df98b5
								
							
						
					
					
						commit
						5a42590d73
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -9043,7 +9043,7 @@ void Plater::export_gcode(bool prefer_removable) | ||||||
|         unsigned int state = this->p->update_restart_background_process(false, false); |         unsigned int state = this->p->update_restart_background_process(false, false); | ||||||
|         if (state & priv::UPDATE_BACKGROUND_PROCESS_INVALID) |         if (state & priv::UPDATE_BACKGROUND_PROCESS_INVALID) | ||||||
|             return; |             return; | ||||||
|         default_output_file = this->p->background_process.output_filepath_for_project(into_path(get_project_filename(".3mf"))); |         default_output_file = this->p->background_process.output_filepath_for_project(""); | ||||||
|     } catch (const Slic3r::PlaceholderParserError &ex) { |     } catch (const Slic3r::PlaceholderParserError &ex) { | ||||||
|         // Show the error with monospaced font.
 |         // Show the error with monospaced font.
 | ||||||
|         show_error(this, ex.what(), true); |         show_error(this, ex.what(), true); | ||||||
|  | @ -9785,7 +9785,7 @@ void Plater::send_gcode_legacy(int plate_idx, Export3mfProgressFn proFn, bool up | ||||||
|         unsigned int state = this->p->update_restart_background_process(false, false); |         unsigned int state = this->p->update_restart_background_process(false, false); | ||||||
|         if (state & priv::UPDATE_BACKGROUND_PROCESS_INVALID) |         if (state & priv::UPDATE_BACKGROUND_PROCESS_INVALID) | ||||||
|             return; |             return; | ||||||
|         default_output_file = this->p->background_process.output_filepath_for_project(into_path(get_project_filename(".3mf"))); |         default_output_file = this->p->background_process.output_filepath_for_project(""); | ||||||
|     } catch (const Slic3r::PlaceholderParserError& ex) { |     } catch (const Slic3r::PlaceholderParserError& ex) { | ||||||
|         // Show the error with monospaced font.
 |         // Show the error with monospaced font.
 | ||||||
|         show_error(this, ex.what(), true); |         show_error(this, ex.what(), true); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever