mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Fixes collisions shape selection
(cherry picked from commit c250a9a9f9e3af665daf89c0cbbdaa4cea2a6a83)
This commit is contained in:
parent
d79a7a2773
commit
34591f9451
@ -45,7 +45,7 @@ protected:
|
||||
Shape2D(const RID &p_rid);
|
||||
|
||||
public:
|
||||
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const { return true; }
|
||||
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const { return get_rect().has_point(p_point); }
|
||||
|
||||
void set_custom_solver_bias(real_t p_bias);
|
||||
real_t get_custom_solver_bias() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user