From ae5771e1b1ccf673f90aba81aa4572a710408488 Mon Sep 17 00:00:00 2001 From: Micky Date: Thu, 8 Sep 2022 18:38:33 +0200 Subject: 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. --- editor/plugins/skeleton_3d_editor_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/skeleton_3d_editor_plugin.h') 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 &p_event) override; + virtual EditorPlugin::AfterGUIInput forward_3d_gui_input(Camera3D *p_camera, const Ref &p_event) override; bool has_main_screen() const override { return false; } virtual bool handles(Object *p_object) const override; -- cgit v1.2.3