mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-Refresh progress bar less often, makes baking, exporting, etc. faster.
This commit is contained in:
parent
c48aab2f05
commit
2cde466ebd
5 changed files with 62 additions and 63 deletions
|
@ -200,7 +200,7 @@ bool ProgressDialog::task_step(const String &p_task, const String &p_state, int
|
|||
|
||||
if (!p_force_redraw) {
|
||||
uint64_t tus = OS::get_singleton()->get_ticks_usec();
|
||||
if (tus - last_progress_tick < 50000) //50ms
|
||||
if (tus - last_progress_tick < 200000) //200ms
|
||||
return cancelled;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue