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