Warn user for abnormal temperature differences for nozzle and bed (first layer vs other layers) (#12345)

Warn for first and other layers big temperature delta

Warn user if temperature differences (first layer vs other layers) for nozzle and plates are above a certain delta.

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Kiss Lorand
2026-05-10 10:14:35 +03:00
committed by GitHub
parent 4e507fffb2
commit cad12e4b8a
3 changed files with 113 additions and 1 deletions

View File

@@ -51,6 +51,14 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
Hide();
}
#else
auto tab = dynamic_cast<Tab *>(m_panel->get_current_tab());
// ORCA: Validate filament temperature pairs before closing the material settings dialog.
if (tab && !tab->validate_filament_temperature_pairs()) {
if (event.CanVeto())
event.Veto();
return;
}
Hide();
if (!m_editing_filament_id.empty()) {
Filamentinformation *filament_info = new Filamentinformation();