diff options
| author | Juan Linietsky | 2016-09-10 16:44:03 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-09-10 16:44:03 -0300 |
| commit | 491dde2eb46a3d5af60256a21a23d6c32e4bfa46 (patch) | |
| tree | 7bf71d49ec7290294c330508fb59d0f8ca41b6da /tools/editor/plugins/polygon_2d_editor_plugin.h | |
| parent | 67d3935eb17110d71235f52d1b2040f06c8f2b23 (diff) | |
| download | godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.tar.gz godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.tar.zst godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.zip | |
Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this.
Diffstat (limited to 'tools/editor/plugins/polygon_2d_editor_plugin.h')
| -rw-r--r-- | tools/editor/plugins/polygon_2d_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.h b/tools/editor/plugins/polygon_2d_editor_plugin.h index d8b951ec4..33bae9434 100644 --- a/tools/editor/plugins/polygon_2d_editor_plugin.h +++ b/tools/editor/plugins/polygon_2d_editor_plugin.h @@ -151,7 +151,7 @@ class Polygon2DEditorPlugin : public EditorPlugin { public: - virtual bool forward_input_event(const InputEvent& p_event) { return collision_polygon_editor->forward_input_event(p_event); } + virtual bool forward_canvas_input_event(const Matrix32& p_canvas_xform,const InputEvent& p_event) { return collision_polygon_editor->forward_input_event(p_event); } virtual String get_name() const { return "Polygon2D"; } bool has_main_screen() const { return false; } |
