Fix ConfigOptionEnum for interface pattern (#7316)

Caused some intermittent issues with profiles warning about "rectilinear grid" interface pattern not existing.
This commit is contained in:
n8bot 2021-11-29 02:21:21 -08:00 committed by GitHub
parent 87b6073575
commit 3f0bdb5816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2688,7 +2688,7 @@ void PrintConfigDef::init_fff_params()
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Concentric"));
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionEnum<SupportMaterialPattern>(smpRectilinear));
def->set_default_value(new ConfigOptionEnum<SupportMaterialInterfacePattern>(smipRectilinear));
def = this->add("support_material_spacing", coFloat);
def->label = L("Pattern spacing");