mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fix an issue that bed temperature for other layers are not set properly
This commit is contained in:
		
							parent
							
								
									e978388d00
								
							
						
					
					
						commit
						0a09c7da07
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2045,7 +2045,7 @@ void GCode::get_bed_temperature(const int extruder_id, const bool is_first_layer | |||
| { | ||||
|     temps_per_bed.resize((int)BedType::btCount, 0); | ||||
|     for (int bed_type = 0; bed_type < BedType::btCount; bed_type++) { | ||||
|         std::string bed_temp_key = is_first_layer ? get_bed_temp_key((BedType)bed_type) : get_bed_temp_1st_layer_key((BedType)bed_type); | ||||
|         std::string bed_temp_key = is_first_layer ? get_bed_temp_1st_layer_key((BedType)bed_type) : get_bed_temp_key((BedType)bed_type); | ||||
|         const ConfigOptionInts* bed_temp_opt = m_config.option<ConfigOptionInts>(bed_temp_key); | ||||
| 
 | ||||
|         temps_per_bed[bed_type] = bed_temp_opt->get_at(extruder_id); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever