diff options
author | Bad Sector <badsector@runtimeterror.com> | 2024-11-22 21:10:07 +0200 |
---|---|---|
committer | Bad Sector <badsector@runtimeterror.com> | 2024-11-23 21:12:57 +0200 |
commit | da191168fe6cd69c6803c7db4804c1c17781409c (patch) | |
tree | ccb730553214c1e3dab256f377ccd93c25a83ff2 /editor/plugins/voxel_gi_editor_plugin.h | |
parent | 0c45ace151f25de2ca54fe7a46b6f077be32ba6f (diff) | |
download | redot-engine-da191168fe6cd69c6803c7db4804c1c17781409c.tar.gz |
Add VoxelGI bake cancelling and progress UI improvement
Diffstat (limited to 'editor/plugins/voxel_gi_editor_plugin.h')
-rw-r--r-- | editor/plugins/voxel_gi_editor_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/voxel_gi_editor_plugin.h b/editor/plugins/voxel_gi_editor_plugin.h index d09822dda6..01a2ab4bd1 100644 --- a/editor/plugins/voxel_gi_editor_plugin.h +++ b/editor/plugins/voxel_gi_editor_plugin.h @@ -50,8 +50,8 @@ class VoxelGIEditorPlugin : public EditorPlugin { EditorFileDialog *probe_file = nullptr; static EditorProgress *tmp_progress; - static void bake_func_begin(int p_steps); - static void bake_func_step(int p_step, const String &p_description); + static void bake_func_begin(); + static bool bake_func_step(int p_progress, const String &p_description); static void bake_func_end(); void _bake(); |