mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Be tolerant with STL files without the "normal" word
This commit is contained in:
		
							parent
							
								
									64a21276e3
								
							
						
					
					
						commit
						4774b0e910
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -55,7 +55,7 @@ sub _read_ascii { | ||||||
|     seek $fh, 0, 0; |     seek $fh, 0, 0; | ||||||
|     while (<$fh>) { |     while (<$fh>) { | ||||||
|         if (!$facet) { |         if (!$facet) { | ||||||
|             /^\s*facet\s+normal\s+/ or next; |             /^\s*facet/ or next;  # be tolerant with malformed STL files not having the "normal" word | ||||||
|             $facet = [];  # ignore normal |             $facet = [];  # ignore normal | ||||||
|         } else { |         } else { | ||||||
|             if (/^\s*endfacet/) { |             if (/^\s*endfacet/) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci