mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Document --threads, -j and throw an error when it's used on a non-threaded perl
This commit is contained in:
		
							parent
							
								
									fc76104aa7
								
							
						
					
					
						commit
						63ff01764c
					
				
					 4 changed files with 19 additions and 4 deletions
				
			
		|  | @ -507,6 +507,12 @@ sub validate_cli { | |||
| 
 | ||||
| sub validate { | ||||
|     my $class = shift; | ||||
|      | ||||
|     # -j, --threads | ||||
|     die "Invalid value for --threads\n" | ||||
|         if defined $Slic3r::threads && $Slic3r::threads < 1; | ||||
|     die "Your perl wasn't built with multithread support\n" | ||||
|         if defined $Slic3r::threads && !$Slic3r::have_threads; | ||||
| 
 | ||||
|     # --layer-height | ||||
|     die "Invalid value for --layer-height\n" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci