mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Merge pull request #1059 from cakeller98/Universal_File_Visibility
Added "known" as a valid model file type
This commit is contained in:
		
						commit
						34b192fde3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -14,6 +14,7 @@ our $last_output_file; | |||
| our $last_config; | ||||
| 
 | ||||
| use constant FILE_WILDCARDS => { | ||||
|     known   => 'Known files (*.stl, *.obj, *.amf, *.xml)|*.stl;*.STL;*.obj;*.OBJ;*.amf;*.AMF;*.xml;*.XML', | ||||
|     stl     => 'STL files (*.stl)|*.stl;*.STL', | ||||
|     obj     => 'OBJ files (*.obj)|*.obj;*.OBJ', | ||||
|     amf     => 'AMF files (*.amf)|*.amf;*.AMF;*.xml;*.XML', | ||||
|  | @ -21,7 +22,7 @@ use constant FILE_WILDCARDS => { | |||
|     gcode   => 'G-code files (*.gcode, *.gco, *.g)|*.gcode;*.GCODE;*.gco;*.GCO;*.g;*.G', | ||||
|     svg     => 'SVG files *.svg|*.svg;*.SVG', | ||||
| }; | ||||
| use constant MODEL_WILDCARD => join '|', @{&FILE_WILDCARDS}{qw(stl obj amf)}; | ||||
| use constant MODEL_WILDCARD => join '|', @{&FILE_WILDCARDS}{qw(known stl obj amf)}; | ||||
| 
 | ||||
| sub new { | ||||
|     my $class = shift; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci