mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix for empty or broken png output.
Fix for instance transformation order error and state invalidation issues with rasterization.
This commit is contained in:
parent
bf94751a94
commit
55d62b8295
5 changed files with 54 additions and 161 deletions
|
@ -71,14 +71,12 @@ int ProgressStatusBar::get_progress() const
|
|||
void ProgressStatusBar::set_progress(int val)
|
||||
{
|
||||
if(!m_prog->IsShown()) show_progress(true);
|
||||
if(val < 0) return;
|
||||
|
||||
if(val == m_prog->GetRange()) {
|
||||
m_prog->SetValue(0);
|
||||
show_progress(false);
|
||||
}
|
||||
else if(val < 0) {
|
||||
m_prog->Pulse();
|
||||
}
|
||||
else {
|
||||
m_prog->SetValue(val);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue