aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/baked_lightmap_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2018-01-12 00:08:32 -0300
committerJuan Linietsky2018-01-12 00:08:32 -0300
commit2cde466ebdb6237b6f72ef78614dc05f2ffb551b (patch)
tree2b90d0b53d372c1a8c76343b8ad491403624aed9 /editor/plugins/baked_lightmap_editor_plugin.cpp
parentc48aab2f05d931fbab6bf0702e81e45b5cd88aa1 (diff)
downloadgodot-2cde466ebdb6237b6f72ef78614dc05f2ffb551b.tar.gz
godot-2cde466ebdb6237b6f72ef78614dc05f2ffb551b.tar.zst
godot-2cde466ebdb6237b6f72ef78614dc05f2ffb551b.zip
-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/plugins/baked_lightmap_editor_plugin.cpp')
-rw-r--r--editor/plugins/baked_lightmap_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/baked_lightmap_editor_plugin.cpp b/editor/plugins/baked_lightmap_editor_plugin.cpp
index af175c349..59b79bd07 100644
--- a/editor/plugins/baked_lightmap_editor_plugin.cpp
+++ b/editor/plugins/baked_lightmap_editor_plugin.cpp
@@ -90,7 +90,7 @@ void BakedLightmapEditorPlugin::bake_func_begin(int p_steps) {
bool BakedLightmapEditorPlugin::bake_func_step(int p_step, const String &p_description) {
ERR_FAIL_COND_V(tmp_progress == NULL, false);
- return tmp_progress->step(p_description, p_step);
+ return tmp_progress->step(p_description, p_step, false);
}
void BakedLightmapEditorPlugin::bake_func_end() {