summaryrefslogtreecommitdiffstats
path: root/scene/2d/physics/collision_polygon_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/physics/collision_polygon_2d.h')
-rw-r--r--scene/2d/physics/collision_polygon_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/physics/collision_polygon_2d.h b/scene/2d/physics/collision_polygon_2d.h
index f1ee30babe..93920124fe 100644
--- a/scene/2d/physics/collision_polygon_2d.h
+++ b/scene/2d/physics/collision_polygon_2d.h
@@ -65,7 +65,7 @@ protected:
static void _bind_methods();
public:
-#ifdef TOOLS_ENABLED
+#ifdef DEBUG_ENABLED
virtual Rect2 _edit_get_rect() const override;
virtual bool _edit_use_rect() const override;
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const override;