summaryrefslogtreecommitdiffstats
path: root/scene/2d/line_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/line_2d.h')
-rw-r--r--scene/2d/line_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/line_2d.h b/scene/2d/line_2d.h
index 1d750ca456..0156336403 100644
--- a/scene/2d/line_2d.h
+++ b/scene/2d/line_2d.h
@@ -55,7 +55,7 @@ public:
LINE_TEXTURE_STRETCH
};
-#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;