mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 04:55:57 +08:00
FIX: mistake use of extruder id
Should use filament id instead of extruder id jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I669092da6902158ad5f89d4814c78eabdfb2e7c7
This commit is contained in:
parent
9ee85bef34
commit
18894bd803
@ -5597,8 +5597,8 @@ std::string GCode::set_extruder(unsigned int filament_id, double print_z, bool b
|
|||||||
|
|
||||||
// Set the temperature if the wipe tower didn't (not needed for non-single extruder MM)
|
// Set the temperature if the wipe tower didn't (not needed for non-single extruder MM)
|
||||||
if (m_config.single_extruder_multi_material && !m_config.enable_prime_tower) {
|
if (m_config.single_extruder_multi_material && !m_config.enable_prime_tower) {
|
||||||
int temp = (m_layer_index <= 0 ? m_config.nozzle_temperature_initial_layer.get_at(extruder_id) :
|
int temp = (m_layer_index <= 0 ? m_config.nozzle_temperature_initial_layer.get_at(filament_id) :
|
||||||
m_config.nozzle_temperature.get_at(extruder_id));
|
m_config.nozzle_temperature.get_at(filament_id));
|
||||||
|
|
||||||
gcode += m_writer.set_temperature(temp, false);
|
gcode += m_writer.set_temperature(temp, false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user