mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Minor code refinements
This commit is contained in:
		
							parent
							
								
									d069591514
								
							
						
					
					
						commit
						657d19482b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -248,7 +248,7 @@ std::vector<ExPolygons> extract_slices_from_sla_archive( | |||
|     { | ||||
|         double          incr, val, prev; | ||||
|         bool            stop = false; | ||||
|         tbb::spin_mutex mutex; | ||||
|         tbb::spin_mutex mutex = {}; | ||||
|     } st {100. / slices.size(), 0., 0.}; | ||||
| 
 | ||||
|     tbb::parallel_for(size_t(0), arch.images.size(), | ||||
|  | @ -375,7 +375,7 @@ void fill_iniconf(ConfMap &m, const SLAPrint &print) | |||
|     bool hollow_en = false; | ||||
|     auto it = print.objects().begin(); | ||||
|     while (!hollow_en && it != print.objects().end()) | ||||
|         hollow_en = hollow_en || (*it++)->config().hollowing_enable.getBool(); | ||||
|         hollow_en = (*it++)->config().hollowing_enable; | ||||
| 
 | ||||
|     m["hollow"] = hollow_en ? "1" : "0"; | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros