From 831743997dc9267f25fddbb4c55564ae82be5c53 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Thu, 20 Feb 2025 17:41:41 +0800 Subject: [PATCH] Fix issue that current bed type is changed after upgrading from 2.2 --- src/libslic3r/PrintConfig.cpp | 4 ++-- src/libslic3r/PrintConfig.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index b25a7d417..070152c7a 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -804,18 +804,18 @@ void PrintConfigDef::init_fff_params() def->mode = comSimple; def->enum_keys_map = &s_keys_map_BedType; // Orca: make sure the order of the values is the same as the BedType enum - def->enum_values.emplace_back("Supertack Plate"); def->enum_values.emplace_back("Cool Plate"); def->enum_values.emplace_back("Engineering Plate"); def->enum_values.emplace_back("High Temp Plate"); def->enum_values.emplace_back("Textured PEI Plate"); def->enum_values.emplace_back("Textured Cool Plate"); - def->enum_labels.emplace_back(L("Cool Plate (SuperTack)")); + def->enum_values.emplace_back("Supertack Plate"); def->enum_labels.emplace_back(L("Smooth Cool Plate")); def->enum_labels.emplace_back(L("Engineering Plate")); def->enum_labels.emplace_back(L("Smooth High Temp Plate")); def->enum_labels.emplace_back(L("Textured PEI Plate")); def->enum_labels.emplace_back(L("Textured Cool Plate")); + def->enum_labels.emplace_back(L("Cool Plate (SuperTack)")); def->set_default_value(new ConfigOptionEnum(btPC)); // BBS diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index 02db0c061..b11225ea6 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -268,12 +268,12 @@ enum OverhangFanThreshold { // BBS enum BedType { btDefault = 0, - btSuperTack, btPC, btEP, btPEI, btPTE, btPCT, + btSuperTack, btCount };