mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-04 22:31:02 +00:00
Belt: retire the two support floor modes nothing implements
clip_only and both were never read and behaved like none; old values now load as none. Raised in Hanif Koh's review of #14394.
This commit is contained in:
@@ -373,8 +373,6 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(RemapAxis)
|
||||
static t_config_enum_values s_keys_map_BeltSupportFloorMode {
|
||||
{ "none", int(BeltSupportFloorMode::None) },
|
||||
{ "generator_only", int(BeltSupportFloorMode::GeneratorOnly) },
|
||||
{ "clip_only", int(BeltSupportFloorMode::ClipOnly) },
|
||||
{ "both", int(BeltSupportFloorMode::Both) },
|
||||
};
|
||||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(BeltSupportFloorMode)
|
||||
|
||||
@@ -9354,6 +9352,9 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
|
||||
//BBS: handle legacy options
|
||||
if (opt_key == "curr_bed_type" && value == "SuperTack Plate") {
|
||||
value = "Supertack Plate";
|
||||
} else if (opt_key == "belt_support_floor_mode" && (value == "clip_only" || value == "both")) {
|
||||
// Never implemented; both behaved like "none".
|
||||
value = "none";
|
||||
} else if (opt_key == "enable_wipe_tower") {
|
||||
opt_key = "enable_prime_tower";
|
||||
} else if (opt_key == "wipe_tower_width") {
|
||||
|
||||
@@ -275,8 +275,6 @@ enum class BeltSupportFloorMode
|
||||
{
|
||||
None, // No belt floor awareness
|
||||
GeneratorOnly, // Only in tree support drop_nodes/contact_points
|
||||
ClipOnly, // Only post-processing clipping
|
||||
Both, // Both generator and clipping
|
||||
};
|
||||
|
||||
enum class BeltSupportZOffsetMode
|
||||
|
||||
Reference in New Issue
Block a user