From 02bc8969a2c57f94c3e3ddad0e52729f90c80d5d Mon Sep 17 00:00:00 2001 From: yw4z Date: Sun, 28 Jun 2026 08:07:09 +0300 Subject: [PATCH] Fix: Missing inherited filaments on vendor profiles cannot found on OrcaFilamentLibrary (#12060) * init * ix: resolve OFL filament inherits in printer creation via base_bundle --------- Co-authored-by: SoftFever --- src/slic3r/GUI/CreatePresetsDialog.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/CreatePresetsDialog.cpp b/src/slic3r/GUI/CreatePresetsDialog.cpp index af73ed65f4..1bd80d5f00 100644 --- a/src/slic3r/GUI/CreatePresetsDialog.cpp +++ b/src/slic3r/GUI/CreatePresetsDialog.cpp @@ -2216,8 +2216,13 @@ bool CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(Pre } try { - temp_preset_bundle.load_vendor_configs_from_json(preset_path, selected_vendor_id, PresetBundle::LoadConfigBundleAttribute::LoadSystem, - ForwardCompatibilitySubstitutionRule::EnableSilent); + // Pass the app's preset bundle (which already holds OrcaFilamentLibrary) as the base + // bundle so vendor filaments that inherit OFL bases resolve via the existing + // cross-vendor inheritance path. + temp_preset_bundle.load_vendor_configs_from_json(preset_path, selected_vendor_id, + PresetBundle::LoadConfigBundleAttribute::LoadSystem, + ForwardCompatibilitySubstitutionRule::EnableSilent, + wxGetApp().preset_bundle); } catch (...) { BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "load vendor fonfigs form json failed"; MessageDialog dlg(this, _L("The printer model was not found, please reselect."), wxString(SLIC3R_APP_FULL_NAME) + " - " + _L("Info"),