1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Add VoxelGI bake cancelling and progress UI improvement

This commit is contained in:
Bad Sector
2024-11-22 21:10:07 +02:00
parent 0c45ace151
commit da191168fe
6 changed files with 116 additions and 36 deletions

View File

@@ -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();