You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Print time taken and request attention when lightmaps are done baking
Since lightmap baking can take a very long time, printing the time spent can be useful for users tweaking the lightmap settings to optimize bake times. Completing lightmap baking will also request attention, which is useful if you're doing something else while waiting for lightmaps to bake.
This commit is contained in:
@@ -47,7 +47,7 @@ class LightmapGIEditorPlugin : public EditorPlugin {
|
||||
EditorFileDialog *file_dialog;
|
||||
static EditorProgress *tmp_progress;
|
||||
static bool bake_func_step(float p_progress, const String &p_description, void *, bool p_refresh);
|
||||
static void bake_func_end();
|
||||
static void bake_func_end(uint64_t p_time_started);
|
||||
|
||||
void _bake_select_file(const String &p_file);
|
||||
void _bake();
|
||||
|
||||
Reference in New Issue
Block a user