summaryrefslogtreecommitdiffstats
path: root/editor/plugins/voxel_gi_editor_plugin.h
diff options
context:
space:
mode:
authorBad Sector <badsector@runtimeterror.com>2024-11-22 21:10:07 +0200
committerBad Sector <badsector@runtimeterror.com>2024-11-23 21:12:57 +0200
commitda191168fe6cd69c6803c7db4804c1c17781409c (patch)
treeccb730553214c1e3dab256f377ccd93c25a83ff2 /editor/plugins/voxel_gi_editor_plugin.h
parent0c45ace151f25de2ca54fe7a46b6f077be32ba6f (diff)
downloadredot-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.h4
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();