mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
ENH: support 3rd printer model
Change-Id: Ib8c2c846f73a6ac14339e1d0222204d7440de014
This commit is contained in:
parent
173b43d2bd
commit
e43f80e875
7 changed files with 71 additions and 16 deletions
|
@ -319,7 +319,12 @@ int DownPluginFrame::InstallPlugin()
|
|||
|
||||
int DownPluginFrame::ShowPluginStatus(int status, int percent, bool &cancel)
|
||||
{
|
||||
// TODO
|
||||
static int nPercent = 0;
|
||||
if (nPercent == percent)
|
||||
return 0;
|
||||
|
||||
nPercent = percent;
|
||||
|
||||
json m_Data = json::object();
|
||||
m_Data["status"] = status;
|
||||
m_Data["percent"] = percent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue