mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Support for legacy config files containing bottom_layer_speed_ratio. #151
This commit is contained in:
		
							parent
							
								
									91ffb74429
								
							
						
					
					
						commit
						4a188f8566
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -520,8 +520,8 @@ sub load { | |||
|          | ||||
|         # handle legacy options | ||||
|         next if $ignore{$key}; | ||||
|         if ($key eq 'extrusion_width_ratio') { | ||||
|             $key = 'extrusion_width'; | ||||
|         if ($key =~ /^(?:extrusion_width|bottom_layer_speed)_ratio$/) { | ||||
|             $key = $1; | ||||
|             $val = $val =~ /^\d+(\.\d+)?$/ ? ($val*100) . "%" : 0; | ||||
|         } | ||||
|          | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci