From b84fe5561a6b001a2b6992324befaa3bf38ddccd Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Tue, 5 Aug 2025 22:57:41 +0800 Subject: [PATCH] Update BBL network plugin to 2.1.1 which allows debugger again (#10320) * Update to latest bbs network plugin, which should allow debugging * Remove debugger detection and warnings * Downgrade to 2.1.1 as 2.2 seems to be unstable --- src/slic3r/GUI/GUI_App.cpp | 4 ++-- src/slic3r/Utils/bambu_networking.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 899bc33bc6..382a1875de 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2587,7 +2587,7 @@ bool GUI_App::on_init_inner() NetworkAgent::use_legacy_network = app_config->get_bool("legacy_networking"); // Force legacy network plugin if debugger attached // See https://github.com/bambulab/BambuStudio/issues/6726 - if (!NetworkAgent::use_legacy_network) { + /* if (!NetworkAgent::use_legacy_network) { bool debugger_attached = false; #if defined(__WINDOWS__) debugger_attached = IsDebuggerPresent(); @@ -2598,7 +2598,7 @@ bool GUI_App::on_init_inner() NetworkAgent::use_legacy_network = true; wxMessageBox("Force using legacy bambu networking plugin because debugger is attached! If the app terminates itself immediately, please delete installed plugin and try again!"); } - } + } */ copy_network_if_available(); on_init_network(); diff --git a/src/slic3r/Utils/bambu_networking.hpp b/src/slic3r/Utils/bambu_networking.hpp index 1ccf786bbc..218206356d 100644 --- a/src/slic3r/Utils/bambu_networking.hpp +++ b/src/slic3r/Utils/bambu_networking.hpp @@ -98,7 +98,7 @@ namespace BBL { #define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent" #define BAMBU_NETWORK_AGENT_VERSION_LEGACY "01.10.01.01" -#define BAMBU_NETWORK_AGENT_VERSION "02.00.02.50" +#define BAMBU_NETWORK_AGENT_VERSION "02.01.01.52" //iot preset type strings #define IOT_PRINTER_TYPE_STRING "printer"