mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed previous commit, which broke debug compilation.
This commit is contained in:
		
							parent
							
								
									e07a2434d3
								
							
						
					
					
						commit
						b15db6fdb7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1063,9 +1063,9 @@ indexed_triangle_set its_convex_hull(const std::vector<Vec3f> &pts) | |||
|         std::vector<int>    map_dst_vertices; | ||||
|     #ifndef NDEBUG | ||||
|         Vec3f               centroid = Vec3f::Zero(); | ||||
|         for (const stl_vertex& pt : this->its.vertices) | ||||
|         for (const stl_vertex& pt : pts) | ||||
|             centroid += pt; | ||||
|         centroid /= float(this->its.vertices.size()); | ||||
|         centroid /= float(pts.size()); | ||||
|     #endif // NDEBUG
 | ||||
|         for (const orgQhull::QhullFacet facet : qhull.facetList()) { | ||||
|             // Collect face vertices first, allocate unique vertices in dst_vertices based on QHull's vertex ID.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik