mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Add dirty state into Gizmo (hint by @DavidKocik)
This commit is contained in:
parent
cce3041a95
commit
8fab4885c7
4 changed files with 28 additions and 2 deletions
|
@ -266,6 +266,7 @@ void GLGizmoSimplify::process()
|
|||
};
|
||||
std::function<void(int)> statusfn = [&](int percent) {
|
||||
m_progress = percent;
|
||||
set_dirty();
|
||||
m_parent.schedule_extra_frame(0);
|
||||
};
|
||||
|
||||
|
@ -290,6 +291,7 @@ void GLGizmoSimplify::process()
|
|||
m_state = State::settings;
|
||||
}
|
||||
// need to render last status fn to change bar graph to buttons
|
||||
set_dirty();
|
||||
m_parent.schedule_extra_frame(0);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue