mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-16 08:52:43 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user