diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index 8e6d23cb2d..99adf6c30b 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -1838,6 +1838,7 @@ bool PartPlate::check_mixture_filament_compatible(const DynamicPrintConfig &conf auto filament_type_opt = config.option("filament_type"); for (auto filament : used_filaments) { int filament_idx = filament - 1; + if (filament_idx >= filament_type_opt->values.size()) filament_idx = 0; filament_types.push_back(filament_type_opt->values[filament_idx]); };