summaryrefslogtreecommitdiff
path: root/scene/resources/shape_2d.h
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2017-12-27 09:28:02 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2017-12-27 20:24:58 +0100
commit8505871a87b59b27acc0912a6dd815231c3b78b1 (patch)
tree31a4fdc7afe2cd3960380fa7695d508f54c043a2 /scene/resources/shape_2d.h
parent32d8b99bc31e3762ae0dc017a05567da2802a313 (diff)
More exact picking for canvas editor
Diffstat (limited to 'scene/resources/shape_2d.h')
-rw-r--r--scene/resources/shape_2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/shape_2d.h b/scene/resources/shape_2d.h
index fffc7011f1..f624993db2 100644
--- a/scene/resources/shape_2d.h
+++ b/scene/resources/shape_2d.h
@@ -44,6 +44,8 @@ protected:
Shape2D(const RID &p_rid);
public:
+ virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const { return true; }
+
void set_custom_solver_bias(real_t p_bias);
real_t get_custom_solver_bias() const;