diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-03 11:15:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 11:15:28 +0100 |
commit | 459ee51338ff9ffb8248a4351eee3b558438aa50 (patch) | |
tree | b366aad4e6ee15907af75cb659f42b5ec79b6f58 /scene/resources/convex_polygon_shape_2d.h | |
parent | 0b235a5efa9f6825e638d98d9eaadcc11423b3c3 (diff) | |
parent | 8505871a87b59b27acc0912a6dd815231c3b78b1 (diff) |
Merge pull request #15093 from poke1024/canvas-editor-select
More exact picking for canvas editor
Diffstat (limited to 'scene/resources/convex_polygon_shape_2d.h')
-rw-r--r-- | scene/resources/convex_polygon_shape_2d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/convex_polygon_shape_2d.h b/scene/resources/convex_polygon_shape_2d.h index f492b7651b..320cf94a5e 100644 --- a/scene/resources/convex_polygon_shape_2d.h +++ b/scene/resources/convex_polygon_shape_2d.h @@ -42,6 +42,8 @@ protected: static void _bind_methods(); public: + virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const; + void set_point_cloud(const Vector<Vector2> &p_points); void set_points(const Vector<Vector2> &p_points); Vector<Vector2> get_points() const; |