mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Revert full parallel support tree generation to partially parallel.
This commit is contained in:
		
							parent
							
								
									06a2a69261
								
							
						
					
					
						commit
						17a7f58828
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -85,7 +85,7 @@ using Portion = std::tuple<double, double>; | |||
| 
 | ||||
| // Set this to true to enable full parallelism in this module.
 | ||||
| // Only the well tested parts will be concurrent if this is set to false.
 | ||||
| const constexpr bool USE_FULL_CONCURRENCY = true; | ||||
| const constexpr bool USE_FULL_CONCURRENCY = false; | ||||
| 
 | ||||
| template<bool> struct _ccr {}; | ||||
| 
 | ||||
|  | @ -1194,7 +1194,7 @@ class SLASupportTree::Algorithm { | |||
|         // Now a and b vectors are perpendicular to v and to each other.
 | ||||
|         // Together they define the plane where we have to iterate with the
 | ||||
|         // given angles in the 'phis' vector
 | ||||
|         ccr_seq::enumerate(phis.begin(), phis.end(), | ||||
|         ccr_par::enumerate(phis.begin(), phis.end(), | ||||
|                            [&hits, &m, sd, r_pin, r_back, s, a, b, c] | ||||
|                            (double phi, size_t i) | ||||
|         { | ||||
|  | @ -1297,7 +1297,7 @@ class SLASupportTree::Algorithm { | |||
|         // Hit results
 | ||||
|         std::array<HitResult, SAMPLES> hits; | ||||
| 
 | ||||
|         ccr_seq::enumerate(phis.begin(), phis.end(), | ||||
|         ccr_par::enumerate(phis.begin(), phis.end(), | ||||
|                            [&m, a, b, sd, dir, r, s, ins_check, &hits] | ||||
|                            (double phi, size_t i) | ||||
|         { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros