From 3145dd48ea91f82d81212cebc5c6b44f0068027e Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Wed, 23 Oct 2024 10:21:26 +0800 Subject: [PATCH] FIX: disable liveview idle check on internal build Change-Id: I42b2d05bf277dad446d017f03375ae80999c9a63 Jira: none --- src/slic3r/GUI/MediaPlayCtrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index 9af0cc116..8f9e393ce 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -181,6 +181,7 @@ void MediaPlayCtrl::SetMachineObject(MachineObject* obj) auto now = std::chrono::system_clock::now(); if (m_play_timer <= now) { m_play_timer = now + 1min; +#if BBL_RELEASE_TO_PUBLIC if (SecondsSinceLastInput() >= 900) { // 15 min auto close = wxGetApp().app_config->get("liveview", "auto_stop_liveview") == "true"; if (close) { @@ -196,6 +197,7 @@ void MediaPlayCtrl::SetMachineObject(MachineObject* obj) m_next_retry = wxDateTime(); Stop(_L("Temporarily closed because there is no printing for a while.")); } +#endif } } return;