summaryrefslogtreecommitdiff
path: root/scene/resources/shape_2d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-11-08 02:10:35 +0100
committerGitHub <noreply@github.com>2022-11-08 02:10:35 +0100
commit2f0d3d5424c393c756f4cd5cac26287c95aaf4fe (patch)
treead7a7fa1d33b3e46c7f79c9b4016f51d53c67a76 /scene/resources/shape_2d.cpp
parentb61fda9d2a6166e41538405ad8ae24f1aed40570 (diff)
parentd9f066d5fadfce5fc19310f8ba5ce51d3552bf9e (diff)
Merge pull request #61549 from KoBeWi/project_settings_mess
Remove duplicate project settings definitions
Diffstat (limited to 'scene/resources/shape_2d.cpp')
-rw-r--r--scene/resources/shape_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shape_2d.cpp b/scene/resources/shape_2d.cpp
index 61daf801e8..af84144591 100644
--- a/scene/resources/shape_2d.cpp
+++ b/scene/resources/shape_2d.cpp
@@ -116,7 +116,7 @@ bool Shape2D::is_collision_outline_enabled() {
return true;
}
#endif
- return GLOBAL_DEF("debug/shapes/collision/draw_2d_outlines", true);
+ return GLOBAL_GET("debug/shapes/collision/draw_2d_outlines");
}
Shape2D::Shape2D(const RID &p_rid) {