fix(compat): add aliases for wall_filament → outer_wall_filament_id; fix verify_build.sh
Adds .aliases = { "wall_filament", "wall_filament_id", "outer_wall_filament",
"perimeter_extruder" } to outer_wall_filament_id and .aliases = { "inner_wall_filament" }
to inner_wall_filament_id in PrintConfig.cpp so that old .3mf files using these legacy
keys do not throw UnknownOptionException on load.
Also corrects verify_build.sh CHECKS to search for "tray_sub_brands" (the actual binary
string) instead of the stale "filament_sub_brands".
This commit is contained in:
@@ -5015,6 +5015,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def->tooltip = L("Filament to print outer walls.\n\"Default\" uses the active object/part filament.");
|
||||
def->min = 0;
|
||||
def->mode = comAdvanced;
|
||||
def->aliases = { "wall_filament", "wall_filament_id", "outer_wall_filament", "perimeter_extruder" };
|
||||
def->set_default_value(new ConfigOptionInt(0));
|
||||
|
||||
def = this->add("inner_wall_filament_id", coInt);
|
||||
@@ -5024,6 +5025,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def->tooltip = L("Filament to print inner walls.\n\"Default\" uses the active object/part filament.");
|
||||
def->min = 0;
|
||||
def->mode = comAdvanced;
|
||||
def->aliases = { "inner_wall_filament" };
|
||||
def->set_default_value(new ConfigOptionInt(0));
|
||||
|
||||
def = this->add("inner_wall_line_width", coFloatOrPercent);
|
||||
|
||||
@@ -43,7 +43,7 @@ trap "rm -rf $TMPDIR" EXIT
|
||||
CHECKS=(
|
||||
"$VERSION"
|
||||
"KX-Bridge"
|
||||
"filament_sub_brands"
|
||||
"tray_sub_brands"
|
||||
)
|
||||
|
||||
BINARY=""
|
||||
|
||||
Reference in New Issue
Block a user