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/2d/collision_shape_2d.h | |
parent | 0b235a5efa9f6825e638d98d9eaadcc11423b3c3 (diff) | |
parent | 8505871a87b59b27acc0912a6dd815231c3b78b1 (diff) | |
download | redot-engine-459ee51338ff9ffb8248a4351eee3b558438aa50.tar.gz |
Merge pull request #15093 from poke1024/canvas-editor-select
More exact picking for canvas editor
Diffstat (limited to 'scene/2d/collision_shape_2d.h')
-rw-r--r-- | scene/2d/collision_shape_2d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/collision_shape_2d.h b/scene/2d/collision_shape_2d.h index 833d9ae5cb..921066c5c8 100644 --- a/scene/2d/collision_shape_2d.h +++ b/scene/2d/collision_shape_2d.h @@ -52,6 +52,7 @@ protected: public: virtual Rect2 _edit_get_rect() const; + virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const; void set_shape(const Ref<Shape2D> &p_shape); Ref<Shape2D> get_shape() const; |