ENH: remove bed temperature check

This is useless now. Remove.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id9a5e7822b19a74bf35670d5913214467b5a90ac
(cherry picked from commit 52580e16098ffb5386501d58d607c188861c96f2)
This commit is contained in:
salt.wei 2023-01-09 20:28:04 +08:00 committed by lane.wei
parent 36ef437d19
commit 062236d300

View File

@ -2554,7 +2554,7 @@ void TabFilament::build()
DynamicPrintConfig& filament_config = wxGetApp().preset_bundle->filaments.get_edited_preset().config; DynamicPrintConfig& filament_config = wxGetApp().preset_bundle->filaments.get_edited_preset().config;
update_dirty(); update_dirty();
if (opt_key == "cool_plate_temp" || opt_key == "cool_plate_temp_initial_layer") { /*if (opt_key == "cool_plate_temp" || opt_key == "cool_plate_temp_initial_layer") {
m_config_manipulation.check_bed_temperature_difference(BedType::btPC, &filament_config); m_config_manipulation.check_bed_temperature_difference(BedType::btPC, &filament_config);
} }
else if (opt_key == "eng_plate_temp" || opt_key == "eng_plate_temp_initial_layer") { else if (opt_key == "eng_plate_temp" || opt_key == "eng_plate_temp_initial_layer") {
@ -2566,7 +2566,7 @@ void TabFilament::build()
else if (opt_key == "textured_plate_temp" || opt_key == "textured_plate_temp_initial_layer") { else if (opt_key == "textured_plate_temp" || opt_key == "textured_plate_temp_initial_layer") {
m_config_manipulation.check_bed_temperature_difference(BedType::btPTE, &filament_config); m_config_manipulation.check_bed_temperature_difference(BedType::btPTE, &filament_config);
} }
else if (opt_key == "nozzle_temperature") { else */if (opt_key == "nozzle_temperature") {
m_config_manipulation.check_nozzle_temperature_range(&filament_config); m_config_manipulation.check_nozzle_temperature_range(&filament_config);
} }
else if (opt_key == "nozzle_temperature_initial_layer") { else if (opt_key == "nozzle_temperature_initial_layer") {