Fix false "The 3mf has following modified G-codes in filament or printer presets" warning when loading a project

This commit is contained in:
SoftFever 2023-12-12 19:24:31 +08:00
parent 057926f957
commit 103d778e63

View file

@ -1011,7 +1011,7 @@ int PresetBundle::validate_presets(const std::string &file_name, DynamicPrintCon
return ret; return ret;
} }
for(unsigned int index = 1; index < filament_count+2; index ++) for(unsigned int index = 1; index < filament_count; index ++)
{ {
std::string different_settingss = different_values[index]; std::string different_settingss = different_values[index];