mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 05:17:19 +00:00
FIX: reset bambu lib after restart network plugin
Change-Id: I4a3a4b7420745835ca3fa00c6edebe9d8d98cbf6 Jira: STUDIO-7571 (cherry picked from commit 28d9c6743fae80bfd40e4ee391e30d62cb16d4ab)
This commit is contained in:
@@ -19,12 +19,12 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
struct StaticBambuLib : BambuLib
|
struct StaticBambuLib : BambuLib
|
||||||
{
|
{
|
||||||
static StaticBambuLib &get();
|
static StaticBambuLib &get(BambuLib *);
|
||||||
};
|
};
|
||||||
|
|
||||||
wxMediaCtrl3::wxMediaCtrl3(wxWindow *parent)
|
wxMediaCtrl3::wxMediaCtrl3(wxWindow *parent)
|
||||||
: wxWindow(parent, wxID_ANY)
|
: wxWindow(parent, wxID_ANY)
|
||||||
, BambuLib(StaticBambuLib::get())
|
, BambuLib(StaticBambuLib::get(this))
|
||||||
, m_thread([this] { PlayThread(); })
|
, m_thread([this] { PlayThread(); })
|
||||||
{
|
{
|
||||||
SetBackgroundColour(*wxBLACK);
|
SetBackgroundColour(*wxBLACK);
|
||||||
|
|||||||
Reference in New Issue
Block a user