mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH: remove useless code
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I1dca5e366c2c681a4137c2187ecc7d59663e3b86
This commit is contained in:
		
							parent
							
								
									31f8034422
								
							
						
					
					
						commit
						0c00243cbf
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -737,6 +737,7 @@ void PrintObject::slice() | |||
|     m_layers = new_layers(this, generate_object_layers(m_slicing_params, layer_height_profile)); | ||||
|     this->slice_volumes(); | ||||
|     m_print->throw_if_canceled(); | ||||
| #if 0 | ||||
|     // Fix the model.
 | ||||
|     //FIXME is this the right place to do? It is done repeateadly at the UI and now here at the backend.
 | ||||
|     std::string warning = fix_slicing_errors(this, m_layers, [this](){ m_print->throw_if_canceled(); }); | ||||
|  | @ -746,6 +747,7 @@ void PrintObject::slice() | |||
|         BOOST_LOG_TRIVIAL(info) << warning; | ||||
|         this->active_step_add_warning(PrintStateBase::WarningLevel::CRITICAL, warning, PrintStateBase::SlicingReplaceInitEmptyLayers); | ||||
|     } | ||||
| #endif | ||||
|     // Update bounding boxes, back up raw slices of complex models.
 | ||||
|     tbb::parallel_for( | ||||
|         tbb::blocked_range<size_t>(0, m_layers.size()), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 salt.wei
						salt.wei