mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fixing a constness issue of the preceding commit.
This commit is contained in:
		
							parent
							
								
									cceaae84fb
								
							
						
					
					
						commit
						12d14eaa2f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -192,8 +192,8 @@ static Polygons contours_simplified(const Vec2i &grid_size, const double pixel_s | |||
| 
 | ||||
|     // Fill in empty cells, which have a left / right neighbor filled.
 | ||||
|     // Fill in empty cells, which have the top / bottom neighbor filled.
 | ||||
|     std::vector<unsigned char>  cell_inside_data; | ||||
|     std::vector<unsigned char> &cell_inside = fill_holes ? cell_inside_data : grid; | ||||
|     std::vector<unsigned char>        cell_inside_data; | ||||
|     const std::vector<unsigned char> &cell_inside = fill_holes ? cell_inside_data : grid; | ||||
|     if (fill_holes) { | ||||
|         cell_inside_data = grid; | ||||
|         for (int r = 1; r + 1 < grid_size.y(); ++ r) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik