mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	actualize warnings on empty background process
This commit is contained in:
		
							parent
							
								
									a59f078883
								
							
						
					
					
						commit
						a1b2d53f4e
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -3090,15 +3090,14 @@ unsigned int Plater::priv::update_background_process(bool force_validation, bool | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 	//actualizate warnings
 | 	//actualizate warnings
 | ||||||
| 	if (invalidated != Print::APPLY_STATUS_UNCHANGED) { | 	if (invalidated != Print::APPLY_STATUS_UNCHANGED || background_process.empty()) { | ||||||
|         if (background_process.empty()) |         if (background_process.empty()) | ||||||
|             process_validation_warning(std::string()); |             process_validation_warning(std::string()); | ||||||
| 		actualize_slicing_warnings(*this->background_process.current_print()); | 		actualize_slicing_warnings(*this->background_process.current_print()); | ||||||
|         actualize_object_warnings(*this->background_process.current_print()); |         actualize_object_warnings(*this->background_process.current_print()); | ||||||
| 		show_warning_dialog = false; | 		show_warning_dialog = false; | ||||||
| 		process_completed_with_error = false; | 		process_completed_with_error = false;   | ||||||
|          | 	}  | ||||||
| 	} |  | ||||||
| 
 | 
 | ||||||
|     if (invalidated != Print::APPLY_STATUS_UNCHANGED && was_running && ! this->background_process.running() && |     if (invalidated != Print::APPLY_STATUS_UNCHANGED && was_running && ! this->background_process.running() && | ||||||
|         (return_state & UPDATE_BACKGROUND_PROCESS_RESTART) == 0) { |         (return_state & UPDATE_BACKGROUND_PROCESS_RESTART) == 0) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik