mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	PrintHost: Fix host type configuration, refactor, fix #1687
This commit is contained in:
		
							parent
							
								
									bd725a47f4
								
							
						
					
					
						commit
						857b68a82a
					
				
					 10 changed files with 80 additions and 55 deletions
				
			
		|  | @ -3217,9 +3217,6 @@ void Plater::on_config_change(const DynamicPrintConfig &config) | |||
|             bed_shape_changed = true; | ||||
|             update_scheduled = true; | ||||
|         } | ||||
|         else if (opt_key == "host_type" && this->p->printer_technology == ptSLA) { | ||||
|             p->config->option<ConfigOptionEnum<PrintHostType>>(opt_key)->value = htSL1; | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     { | ||||
|  |  | |||
|  | @ -1626,8 +1626,6 @@ void TabPrinter::build_printhost(ConfigOptionsGroup *optgroup) | |||
| 	// Only offer the host type selection for FFF, for SLA it's always the SL1 printer (at the moment)
 | ||||
| 	if (! sla) { | ||||
| 		optgroup->append_single_option_line("host_type"); | ||||
| 	} else { | ||||
| 		m_config->option<ConfigOptionEnum<PrintHostType>>("host_type", true)->value = htSL1; | ||||
| 	} | ||||
| 
 | ||||
| 	auto printhost_browse = [this, optgroup] (wxWindow* parent) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Kral
						Vojtech Kral