summaryrefslogtreecommitdiff
path: root/scene/2d/collision_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/collision_shape_2d.h')
-rw-r--r--scene/2d/collision_shape_2d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/2d/collision_shape_2d.h b/scene/2d/collision_shape_2d.h
index 04203a75b4..4745c659c8 100644
--- a/scene/2d/collision_shape_2d.h
+++ b/scene/2d/collision_shape_2d.h
@@ -51,9 +51,10 @@ protected:
static void _bind_methods();
public:
+ virtual Rect2 _edit_get_rect() const;
+
void set_shape(const Ref<Shape2D> &p_shape);
Ref<Shape2D> get_shape() const;
- virtual Rect2 get_item_rect() const;
void set_disabled(bool p_disabled);
bool is_disabled() const;