mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 02:02:42 -07: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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user