Feature/per vendor update (#13394)

* init work - refactored OrcaSlice side
backend is not updated yet

* end-to-end flow

* Delete task.md

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Ian Chua
2026-05-01 18:03:19 +08:00
committed by GitHub
parent c04be9ab37
commit 70fb1a9578
4 changed files with 153 additions and 120 deletions

View File

@@ -33,6 +33,7 @@
#include "GUI_App.hpp"
#include "GUI_ObjectList.hpp"
#include "slic3r/Utils/PresetUpdater.hpp"
#include "Plater.hpp"
#include "MainFrame.hpp"
#include "format.hpp"
@@ -2061,6 +2062,12 @@ void Tab::on_presets_changed()
// Check if printer agent needs switching
if (m_type == Preset::TYPE_PRINTER) {
wxGetApp().switch_printer_agent();
// Trigger per-vendor preset update check
const Preset& printer_preset = m_preset_bundle->printers.get_edited_preset();
if (printer_preset.vendor) {
wxGetApp().get_preset_updater()->check_vendor_update(printer_preset.vendor->id);
}
}
bool is_bbl_vendor_preset = m_preset_bundle->is_bbl_vendor();