1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

Reordered scene reload to prevent race conditions.

Also extended progress status bar to support status value -1 for pulsing.
This commit is contained in:
tamasmeszaros
2018-11-29 10:57:06 +01:00
parent bac021d516
commit 8fbfad275c
2 changed files with 15 additions and 15 deletions
+5 -1
View File
@@ -75,7 +75,11 @@ void ProgressStatusBar::set_progress(int val)
if(val == m_prog->GetRange()) {
m_prog->SetValue(0);
show_progress(false);
} else {
}
else if(val < 0) {
m_prog->Pulse();
}
else {
m_prog->SetValue(val);
}
}