mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Merge branch 'master' into tm_arrange_selection
This commit is contained in:
		
						commit
						b2867f9227
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -386,7 +386,7 @@ static inline std::vector<Vec2f> poisson_disk_from_samples(const std::vector<Vec
 | 
			
		|||
            } else {
 | 
			
		||||
                // This is a new cell.
 | 
			
		||||
                PoissonDiskGridEntry data;
 | 
			
		||||
                data.first_sample_idx = i;
 | 
			
		||||
                data.first_sample_idx = int(i);
 | 
			
		||||
                data.sample_cnt       = 1;
 | 
			
		||||
                auto result     = cells.insert({sample.cell_id, data});
 | 
			
		||||
                last_cell_id    = sample.cell_id;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,10 +12,18 @@
 | 
			
		|||
#include "SLABoostAdapter.hpp"
 | 
			
		||||
#include "boost/geometry/index/rtree.hpp"
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#pragma warning(push)
 | 
			
		||||
#pragma warning(disable: 4244)
 | 
			
		||||
#pragma warning(disable: 4267)
 | 
			
		||||
#endif
 | 
			
		||||
#include <igl/ray_mesh_intersect.h>
 | 
			
		||||
#include <igl/point_mesh_squared_distance.h>
 | 
			
		||||
#include <igl/remove_duplicate_vertices.h>
 | 
			
		||||
#include <igl/signed_distance.h>
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#pragma warning(pop)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <tbb/parallel_for.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue