summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_player_editor_plugin.h
diff options
context:
space:
mode:
authorgroud <gilles.roudiere@gmail.com>2018-09-18 20:00:07 +0200
committergroud <gilles.roudiere@gmail.com>2018-09-18 20:00:07 +0200
commit5172642c32900f97a6a81640dd6fcb518a254148 (patch)
tree820d3dc0c9ad6e6c90ebf48162e2fd069cc4fb30 /editor/plugins/animation_player_editor_plugin.h
parentf148e8eedeb1ff2dcf74d6843d1314d7c6db12a7 (diff)
downloadredot-engine-5172642c32900f97a6a81640dd6fcb518a254148.tar.gz
Fixes drawing of the 2D plugins on the 3D view
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.h')
-rw-r--r--editor/plugins/animation_player_editor_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.h b/editor/plugins/animation_player_editor_plugin.h
index 5ac7b99903..55f082aadb 100644
--- a/editor/plugins/animation_player_editor_plugin.h
+++ b/editor/plugins/animation_player_editor_plugin.h
@@ -246,7 +246,7 @@ public:
void set_undo_redo(UndoRedo *p_undo_redo) { undo_redo = p_undo_redo; }
void edit(AnimationPlayer *p_player);
- void forward_force_draw_over_viewport(Control *p_overlay);
+ void forward_canvas_force_draw_over_viewport(Control *p_overlay);
AnimationPlayerEditor(EditorNode *p_editor, AnimationPlayerEditorPlugin *p_plugin);
};
@@ -271,7 +271,7 @@ public:
virtual bool handles(Object *p_object) const;
virtual void make_visible(bool p_visible);
- virtual void forward_force_draw_over_viewport(Control *p_overlay) { anim_editor->forward_force_draw_over_viewport(p_overlay); }
+ virtual void forward_canvas_force_draw_over_viewport(Control *p_overlay) { anim_editor->forward_canvas_force_draw_over_viewport(p_overlay); }
AnimationPlayerEditorPlugin(EditorNode *p_node);
~AnimationPlayerEditorPlugin();