FIX: crush when slicer multi-color model

the root cause is a mismatch between the dimensions of flush matrix and the number of extruders

Change-Id: I3a4ca706cb24d9e5d33969b9e6f5b288e71bb8f2
(cherry picked from commit 7399037eaacdfd7d8407667a2e5a097757265254)
This commit is contained in:
zhimin.zeng 2023-01-17 17:38:41 +08:00 committed by Lane.Wei
parent 851cdad5f3
commit a52e423416
1 changed files with 1 additions and 0 deletions

View File

@ -2069,6 +2069,7 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool
} }
this->update_compatible(PresetSelectCompatibleType::Never); this->update_compatible(PresetSelectCompatibleType::Never);
this->update_multi_material_filament_presets();
//BBS //BBS
//const std::string &physical_printer = config.option<ConfigOptionString>("physical_printer_settings_id", true)->value; //const std::string &physical_printer = config.option<ConfigOptionString>("physical_printer_settings_id", true)->value;