From ebf5dae0bac8f219c332fd8b5f7481bc2e436174 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Thu, 14 Dec 2023 17:39:50 +0800 Subject: [PATCH] FIX: bed_type not follow machine preset Jira: STUDIO-5578 when direct open project from https://makerworld.com/ Change-Id: I3281cf45e3057d766008487975b4585d2e277110 --- src/slic3r/GUI/Plater.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 8ab219d26..8f7991618 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1142,11 +1142,8 @@ void Sidebar::update_all_preset_comboboxes() if (!user_bed_type_flag) { //bed_type not follow machine set_bed_by_curr_bed_type(config); } else {//bed_type follow machine - if (m_soft_first_start || m_is_gcode_file) { - if (m_is_gcode_file) { - m_is_gcode_file = false; - } - // should include soft close then open ,.gcode.3mf case + if (m_is_gcode_file) {//.gcode.3mf case + m_is_gcode_file = false; set_bed_by_curr_bed_type(config); } else if (user_bed_type_flag) {