mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Cleanup toolpaths when changing printer to SLA
This commit is contained in:
		
							parent
							
								
									f58d3116bf
								
							
						
					
					
						commit
						844f62af66
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -2811,7 +2811,7 @@ unsigned int Plater::priv::update_background_process(bool force_validation, bool | |||
|         if (this->preview != nullptr) { | ||||
|             // If the preview is not visible, the following line just invalidates the preview,
 | ||||
|             // but the G-code paths or SLA preview are calculated first once the preview is made visible.
 | ||||
|             this->preview->get_canvas3d()->reset_gcode_toolpaths(); | ||||
|             reset_gcode_toolpaths(); | ||||
|             this->preview->reload_print(); | ||||
|         } | ||||
| #else | ||||
|  | @ -5384,6 +5384,7 @@ void Plater::on_config_change(const DynamicPrintConfig &config) | |||
|             this->set_printer_technology(config.opt_enum<PrinterTechnology>(opt_key)); | ||||
|             // print technology is changed, so we should to update a search list
 | ||||
|             p->sidebar->update_searcher(); | ||||
|             p->reset_gcode_toolpaths(); | ||||
|         } | ||||
|         else if ((opt_key == "bed_shape") || (opt_key == "bed_custom_texture") || (opt_key == "bed_custom_model")) { | ||||
|             bed_shape_changed = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966