summaryrefslogtreecommitdiffstats
path: root/editor/progress_dialog.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-01-12 00:08:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-01-12 00:08:32 -0300
commit2cde466ebdb6237b6f72ef78614dc05f2ffb551b (patch)
tree2b90d0b53d372c1a8c76343b8ad491403624aed9 /editor/progress_dialog.cpp
parentc48aab2f05d931fbab6bf0702e81e45b5cd88aa1 (diff)
downloadredot-engine-2cde466ebdb6237b6f72ef78614dc05f2ffb551b.tar.gz
-Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686.
-Refresh progress bar less often, makes baking, exporting, etc. faster.
Diffstat (limited to 'editor/progress_dialog.cpp')
-rw-r--r--editor/progress_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/progress_dialog.cpp b/editor/progress_dialog.cpp
index 5d79b8f94c..f735ef97db 100644
--- a/editor/progress_dialog.cpp
+++ b/editor/progress_dialog.cpp
@@ -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;
}