FIX: pressure advance unrecogized

while the newer version of 3mf be load to older software
pressure_advance be unrecogized

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie160759f58e573f8ad01a2941763016e9b070e9e
This commit is contained in:
qing.zhang 2023-07-12 12:26:14 +08:00 committed by Lane.Wei
parent a85e817e15
commit 1223d6f900

View file

@ -4233,7 +4233,7 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
static std::set<std::string> ignore = { static std::set<std::string> ignore = {
"acceleration", "scale", "rotate", "duplicate", "duplicate_grid", "acceleration", "scale", "rotate", "duplicate", "duplicate_grid",
"bed_size", "bed_size",
"print_center", "g0", "pressure_advance", "wipe_tower_per_color_wipe" "print_center", "g0", "wipe_tower_per_color_wipe"
#ifndef HAS_PRESSURE_EQUALIZER #ifndef HAS_PRESSURE_EQUALIZER
, "max_volumetric_extrusion_rate_slope_positive", "max_volumetric_extrusion_rate_slope_negative" , "max_volumetric_extrusion_rate_slope_positive", "max_volumetric_extrusion_rate_slope_negative"
#endif /* HAS_PRESSURE_EQUALIZER */ #endif /* HAS_PRESSURE_EQUALIZER */