1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this.

This commit is contained in:
Juan Linietsky
2016-09-10 16:44:03 -03:00
parent 67d3935eb1
commit 491dde2eb4
14 changed files with 95 additions and 39 deletions

View File

@@ -101,7 +101,7 @@ class NavigationPolygonEditorPlugin : 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 "NavigationPolygonInstance"; }
bool has_main_screen() const { return false; }