FIX: sync extruder info when select preset

when the connected machine is mutli_extruer and is the same as preset
2. fix the filament unprintable check bug
jira: STUDIO-10047

Change-Id: I4e78003f080897d5b43c0a742852078b149eba45
(cherry picked from commit 1fbc179ae4874d24089dc1faf81608b9417481cb)
This commit is contained in:
zhimin.zeng
2025-01-22 11:44:07 +08:00
committed by Noisyfox
parent 34eac964aa
commit 19a6a20b23
2 changed files with 13 additions and 1 deletions

View File

@@ -1730,7 +1730,7 @@ std::vector<int> PartPlate::get_used_filaments()
bool PartPlate::check_filament_printable(const DynamicPrintConfig &config, wxString& error_message)
{
error_message.clear();
FilamentMapMode mode = config.option<ConfigOptionEnum<FilamentMapMode>>("filament_map_mode")->value;
FilamentMapMode mode = this->get_real_filament_map_mode(config);
// only check printablity if we have explicit map result
if (mode != fmmManual)
return true;