mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Define a surface type count constant to be able to address a vector
with a surface type.
This commit is contained in:
		
							parent
							
								
									83a80a9b7d
								
							
						
					
					
						commit
						d430767fa7
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -23,7 +23,10 @@ enum SurfaceType { | ||||||
|     // or if sparse infill layers get combined into a single layer.
 |     // or if sparse infill layers get combined into a single layer.
 | ||||||
|     stInternalVoid, |     stInternalVoid, | ||||||
|     // Inner/outer perimeters.
 |     // Inner/outer perimeters.
 | ||||||
|     stPerimeter |     stPerimeter, | ||||||
|  |     // Last surface type, if the SurfaceType is used as an index into a vector.
 | ||||||
|  |     stLast, | ||||||
|  |     stCount = stLast + 1 | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| class Surface | class Surface | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv