diff options
author | Micky <micheledevita2@gmail.com> | 2022-09-08 18:38:33 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-10-04 16:27:29 +0200 |
commit | ae5771e1b1ccf673f90aba81aa4572a710408488 (patch) | |
tree | 27e56a862ec10ca8f75dfda89028b59cc0b635c9 /editor/plugins/animation_player_editor_plugin.h | |
parent | e5aa5eb8067fada41ad8ecb5027a7917d6d5084c (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/animation_player_editor_plugin.h')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.h b/editor/plugins/animation_player_editor_plugin.h index 06fd9455df..448a0639b1 100644 --- a/editor/plugins/animation_player_editor_plugin.h +++ b/editor/plugins/animation_player_editor_plugin.h @@ -266,7 +266,7 @@ public: virtual void make_visible(bool p_visible) override; virtual void forward_canvas_force_draw_over_viewport(Control *p_overlay) override { anim_editor->forward_force_draw_over_viewport(p_overlay); } - virtual void forward_spatial_force_draw_over_viewport(Control *p_overlay) override { anim_editor->forward_force_draw_over_viewport(p_overlay); } + virtual void forward_3d_force_draw_over_viewport(Control *p_overlay) override { anim_editor->forward_force_draw_over_viewport(p_overlay); } AnimationPlayerEditorPlugin(); ~AnimationPlayerEditorPlugin(); |