mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Implements SPE-159 "substitute accented letters with non-accented ones"
This commit is contained in:
		
							parent
							
								
									efeda3dcdc
								
							
						
					
					
						commit
						0bd9918643
					
				
					 5 changed files with 1965 additions and 0 deletions
				
			
		|  | @ -1333,6 +1333,9 @@ sub export_gcode { | |||
|     } else { | ||||
|         my $default_output_file = eval { $self->{print}->output_filepath($main::opt{output} // '') }; | ||||
|         Slic3r::GUI::catch_error($self) and return; | ||||
|         # If possible, remove accents from accented latin characters. | ||||
|         # This function is useful for generating file names to be processed by legacy firmwares. | ||||
|         $default_output_file = Slic3r::GUI::fold_utf8_to_ascii($default_output_file); | ||||
|         my $dlg = Wx::FileDialog->new($self, L('Save G-code file as:'),  | ||||
|             wxTheApp->{app_config}->get_last_output_dir(dirname($default_output_file)), | ||||
|             basename($default_output_file), &Slic3r::GUI::FILE_WILDCARDS->{gcode}, wxFD_SAVE | wxFD_OVERWRITE_PROMPT); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv