diff options
Diffstat (limited to 'editor/plugins/gi_probe_editor_plugin.h')
| -rw-r--r-- | editor/plugins/gi_probe_editor_plugin.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/editor/plugins/gi_probe_editor_plugin.h b/editor/plugins/gi_probe_editor_plugin.h index 982a54936..14d831a01 100644 --- a/editor/plugins/gi_probe_editor_plugin.h +++ b/editor/plugins/gi_probe_editor_plugin.h @@ -29,16 +29,14 @@ #ifndef GIPROBEEDITORPLUGIN_H #define GIPROBEEDITORPLUGIN_H -#include "editor/editor_plugin.h" #include "editor/editor_node.h" -#include "scene/resources/material.h" +#include "editor/editor_plugin.h" #include "scene/3d/gi_probe.h" - - +#include "scene/resources/material.h" class GIProbeEditorPlugin : public EditorPlugin { - GDCLASS( GIProbeEditorPlugin, EditorPlugin ); + GDCLASS(GIProbeEditorPlugin, EditorPlugin); GIProbe *gi_probe; @@ -46,11 +44,11 @@ class GIProbeEditorPlugin : public EditorPlugin { EditorNode *editor; void _bake(); -protected: +protected: static void _bind_methods(); -public: +public: virtual String get_name() const { return "GIProbe"; } bool has_main_screen() const { return false; } virtual void edit(Object *p_node); @@ -59,7 +57,6 @@ public: GIProbeEditorPlugin(EditorNode *p_node); ~GIProbeEditorPlugin(); - }; #endif // GIPROBEEDITORPLUGIN_H |
