summaryrefslogtreecommitdiffstats
path: root/scene/resources/2d/shape_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/2d/shape_2d.cpp')
-rw-r--r--scene/resources/2d/shape_2d.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/resources/2d/shape_2d.cpp b/scene/resources/2d/shape_2d.cpp
index 2de9b70f53..e94280fe3d 100644
--- a/scene/resources/2d/shape_2d.cpp
+++ b/scene/resources/2d/shape_2d.cpp
@@ -111,11 +111,6 @@ void Shape2D::_bind_methods() {
}
bool Shape2D::is_collision_outline_enabled() {
-#ifdef TOOLS_ENABLED
- if (Engine::get_singleton()->is_editor_hint()) {
- return true;
- }
-#endif
return GLOBAL_GET("debug/shapes/collision/draw_2d_outlines");
}