From 73aaeaa5494fc158c76aee938f5439d73bbb03f5 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 8cf642ef718..f73b85e6faf 100644 --- a/src/slic3r/GUI/CreatePresetsDialog.cpp +++ b/src/slic3r/GUI/CreatePresetsDialog.cpp @@ -2218,8 +2218,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"),