mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Add dirty state into Gizmo (hint by @DavidKocik)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user