diff options
author | groud <gilles.roudiere@gmail.com> | 2018-09-18 20:00:07 +0200 |
---|---|---|
committer | groud <gilles.roudiere@gmail.com> | 2018-09-18 20:00:07 +0200 |
commit | 5172642c32900f97a6a81640dd6fcb518a254148 (patch) | |
tree | 820d3dc0c9ad6e6c90ebf48162e2fd069cc4fb30 /editor/plugins/path_2d_editor_plugin.h | |
parent | f148e8eedeb1ff2dcf74d6843d1314d7c6db12a7 (diff) | |
download | redot-engine-5172642c32900f97a6a81640dd6fcb518a254148.tar.gz |
Fixes drawing of the 2D plugins on the 3D view
Diffstat (limited to 'editor/plugins/path_2d_editor_plugin.h')
-rw-r--r-- | editor/plugins/path_2d_editor_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/path_2d_editor_plugin.h b/editor/plugins/path_2d_editor_plugin.h index 1e3955f84f..3a78657746 100644 --- a/editor/plugins/path_2d_editor_plugin.h +++ b/editor/plugins/path_2d_editor_plugin.h @@ -107,7 +107,7 @@ protected: public: bool forward_gui_input(const Ref<InputEvent> &p_event); - void forward_draw_over_viewport(Control *p_overlay); + void forward_canvas_draw_over_viewport(Control *p_overlay); void edit(Node *p_path2d); Path2DEditor(EditorNode *p_editor); }; @@ -121,7 +121,7 @@ class Path2DEditorPlugin : public EditorPlugin { public: virtual bool forward_canvas_gui_input(const Ref<InputEvent> &p_event) { return path2d_editor->forward_gui_input(p_event); } - virtual void forward_draw_over_viewport(Control *p_overlay) { return path2d_editor->forward_draw_over_viewport(p_overlay); } + virtual void forward_canvas_draw_over_viewport(Control *p_overlay) { return path2d_editor->forward_canvas_draw_over_viewport(p_overlay); } virtual String get_name() const { return "Path2D"; } bool has_main_screen() const { return false; } |