Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
This commit is contained in:
parent
93f9a83062
commit
5b3709d309
206 changed files with 9547 additions and 10167 deletions
|
|
@ -80,7 +80,7 @@ protected:
|
|||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
bool forward_gui_input(const InputEvent &p_event);
|
||||
bool forward_gui_input(const Ref<InputEvent> &p_event);
|
||||
void edit(Node *p_collision_polygon);
|
||||
CollisionPolygon2DEditor(EditorNode *p_editor);
|
||||
};
|
||||
|
|
@ -93,7 +93,7 @@ class CollisionPolygon2DEditorPlugin : public EditorPlugin {
|
|||
EditorNode *editor;
|
||||
|
||||
public:
|
||||
virtual bool forward_canvas_gui_input(const Transform2D &p_canvas_xform, const InputEvent &p_event) { return collision_polygon_editor->forward_gui_input(p_event); }
|
||||
virtual bool forward_canvas_gui_input(const Transform2D &p_canvas_xform, const Ref<InputEvent> &p_event) { return collision_polygon_editor->forward_gui_input(p_event); }
|
||||
|
||||
virtual String get_name() const { return "CollisionPolygon2D"; }
|
||||
bool has_main_screen() const { return false; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue