diff options
author | kobewi <kobewi4e@gmail.com> | 2024-09-06 16:01:02 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-09-07 00:12:45 +0200 |
commit | a49dbdcbefa52a10c30125eb77b2bf80096161e2 (patch) | |
tree | 686a156fc34acf85fa7832484baa0cc3f3ccdef4 /editor/plugins/path_3d_editor_plugin.h | |
parent | 5675c76461e197d3929a1142cfb84ab1a76ac9dd (diff) | |
download | redot-engine-a49dbdcbefa52a10c30125eb77b2bf80096161e2.tar.gz |
Cleanup Path3D editor
Diffstat (limited to 'editor/plugins/path_3d_editor_plugin.h')
-rw-r--r-- | editor/plugins/path_3d_editor_plugin.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/plugins/path_3d_editor_plugin.h b/editor/plugins/path_3d_editor_plugin.h index 09a7a46803..60cb7f940f 100644 --- a/editor/plugins/path_3d_editor_plugin.h +++ b/editor/plugins/path_3d_editor_plugin.h @@ -162,13 +162,12 @@ class Path3DEditorPlugin : public EditorPlugin { }; protected: - void _notification(int p_what); static void _bind_methods(); public: Path3D *get_edited_path() { return path; } - static Path3DEditorPlugin *singleton; + inline static Path3DEditorPlugin *singleton = nullptr; virtual EditorPlugin::AfterGUIInput forward_3d_gui_input(Camera3D *p_camera, const Ref<InputEvent> &p_event) override; virtual String get_name() const override { return "Path3D"; } @@ -183,7 +182,6 @@ public: void set_handle_clicked(bool clicked) { handle_clicked = clicked; } Path3DEditorPlugin(); - ~Path3DEditorPlugin(); }; #endif // PATH_3D_EDITOR_PLUGIN_H |