Clean up GI Probe baking, proper button and progress bar.

This commit is contained in:
Juan Linietsky
2017-10-30 16:33:07 -03:00
parent 1e8c33fc62
commit 495bcd7301
4 changed files with 59 additions and 1 deletions

View File

@ -44,6 +44,11 @@ class GIProbeEditorPlugin : public EditorPlugin {
Button *bake;
EditorNode *editor;
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_end();
void _bake();
protected: