mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06: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:
parent
bac021d516
commit
8fbfad275c
2 changed files with 15 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue