mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Don't set done on a canceled step.
This commit is contained in:
		
							parent
							
								
									5cd5937795
								
							
						
					
					
						commit
						ee8df7b408
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -872,6 +872,7 @@ void SLAPrint::process() | |||
|             if(po->m_stepmask[currentstep] && po->set_started(currentstep)) { | ||||
|                 report_status(*this, int(st), OBJ_STEP_LABELS[currentstep]); | ||||
|                 pobj_program[currentstep](*po); | ||||
|                 throw_if_canceled(); | ||||
|                 po->set_done(currentstep); | ||||
|             } | ||||
| 
 | ||||
|  | @ -897,6 +898,7 @@ void SLAPrint::process() | |||
|         { | ||||
|             report_status(*this, int(st), PRINT_STEP_LABELS[currentstep]); | ||||
|             print_program[currentstep](); | ||||
|             throw_if_canceled(); | ||||
|             set_done(currentstep); | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros