From 659a65f27fd888f78dbaa6c759f2786e99e5b9e4 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Mon, 26 May 2025 20:02:16 +0800 Subject: [PATCH] Force using local camera view for H2D if legacy network plugin is used --- src/slic3r/GUI/MediaPlayCtrl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index 47f19e5539..d5cdba9504 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -155,6 +155,11 @@ void MediaPlayCtrl::SetMachineObject(MachineObject* obj) m_lan_passwd = obj->get_access_code(); m_device_busy = obj->is_camera_busy_off(); m_tutk_state = obj->tutk_state; + + if (DeviceManager::get_printer_series(obj->printer_type) == "series_o" && NetworkAgent::use_legacy_network) { + // Legacy plugin cannot support remote play for H2D, force using local mode + m_remote_proto = MachineObject::LVR_None; + } } else { m_camera_exists = false; m_lan_mode = false;