mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Warn if no layers were detected
This commit is contained in:
		
							parent
							
								
									c5b6787a19
								
							
						
					
					
						commit
						a0ebee2ca3
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -138,6 +138,9 @@ sub new_from_mesh { | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|      |      | ||||||
|  |     warn "No layers were detected. You might want to repair your STL file and retry.\n" | ||||||
|  |         if !@{$print->layers}; | ||||||
|  |      | ||||||
|     return $print; |     return $print; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci