summaryrefslogtreecommitdiff
path: root/editor/plugins/skeleton_3d_editor_plugin.h
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-09-08 18:38:33 +0200
committerMicky <micheledevita2@gmail.com>2022-10-04 16:27:29 +0200
commitae5771e1b1ccf673f90aba81aa4572a710408488 (patch)
tree27e56a862ec10ca8f75dfda89028b59cc0b635c9 /editor/plugins/skeleton_3d_editor_plugin.h
parente5aa5eb8067fada41ad8ecb5027a7917d6d5084c (diff)
Rename remaining "Spatial" in Plugins to "Node3D"
For EditorNode3DGizmo: - `get_spatial_node` -> `get_node_3d` - `set_spatial_node` -> `set_node_3d` For EditorPlugin: - `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin` - `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin` Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
Diffstat (limited to 'editor/plugins/skeleton_3d_editor_plugin.h')
-rw-r--r--editor/plugins/skeleton_3d_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/skeleton_3d_editor_plugin.h b/editor/plugins/skeleton_3d_editor_plugin.h
index 9747ed8374..9f02d144ed 100644
--- a/editor/plugins/skeleton_3d_editor_plugin.h
+++ b/editor/plugins/skeleton_3d_editor_plugin.h
@@ -238,7 +238,7 @@ class Skeleton3DEditorPlugin : public EditorPlugin {
EditorInspectorPluginSkeleton *skeleton_plugin = nullptr;
public:
- virtual EditorPlugin::AfterGUIInput forward_spatial_gui_input(Camera3D *p_camera, const Ref<InputEvent> &p_event) override;
+ virtual EditorPlugin::AfterGUIInput forward_3d_gui_input(Camera3D *p_camera, const Ref<InputEvent> &p_event) override;
bool has_main_screen() const override { return false; }
virtual bool handles(Object *p_object) const override;