Skip to content

Commit ffa650f

Browse files
committed
Merge pull request godotengine#90113 from smix8/draw_2d_outlines
Make physics debug respect shape outline setting inside editor
2 parents f8a1da9 + 07bbaf2 commit ffa650f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scene/resources/2d/shape_2d.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ void Shape2D::_bind_methods() {
111111
}
112112

113113
bool Shape2D::is_collision_outline_enabled() {
114-
#ifdef TOOLS_ENABLED
115-
if (Engine::get_singleton()->is_editor_hint()) {
116-
return true;
117-
}
118-
#endif
119114
return GLOBAL_GET("debug/shapes/collision/draw_2d_outlines");
120115
}
121116

0 commit comments

Comments
 (0)