Fix crash due to profile variant difference

This commit is contained in:
Noisyfox
2025-09-25 09:41:54 +08:00
parent 8309c3f04f
commit 8653f034e9

View File

@@ -7438,32 +7438,32 @@ const PrintConfigDef print_config_def;
//todo
std::set<std::string> print_options_with_variant = {
"initial_layer_speed",
"initial_layer_infill_speed",
"outer_wall_speed",
"inner_wall_speed",
"small_perimeter_speed", //coFloatsOrPercents
"small_perimeter_threshold",
"sparse_infill_speed",
"internal_solid_infill_speed",
"top_surface_speed",
"enable_overhang_speed", //coBools
"overhang_1_4_speed",
"overhang_2_4_speed",
"overhang_3_4_speed",
"overhang_4_4_speed",
"bridge_speed",
"gap_infill_speed",
"support_speed",
"support_interface_speed",
"travel_speed",
"travel_speed_z",
"default_acceleration",
"initial_layer_acceleration",
"outer_wall_acceleration",
"inner_wall_acceleration",
"sparse_infill_acceleration", //coFloatsOrPercents
"top_surface_acceleration",
//"initial_layer_speed",
//"initial_layer_infill_speed",
//"outer_wall_speed",
//"inner_wall_speed",
//"small_perimeter_speed", //coFloatsOrPercents
//"small_perimeter_threshold",
//"sparse_infill_speed",
//"internal_solid_infill_speed",
//"top_surface_speed",
//"enable_overhang_speed", //coBools
//"overhang_1_4_speed",
//"overhang_2_4_speed",
//"overhang_3_4_speed",
//"overhang_4_4_speed",
//"bridge_speed",
//"gap_infill_speed",
//"support_speed",
//"support_interface_speed",
//"travel_speed",
//"travel_speed_z",
//"default_acceleration",
//"initial_layer_acceleration",
//"outer_wall_acceleration",
//"inner_wall_acceleration",
//"sparse_infill_acceleration", //coFloatsOrPercents
//"top_surface_acceleration",
"print_extruder_id", //coInts
"print_extruder_variant" //coStrings
};