Skip to content

Commit 48b634a

Browse files
authored
Merge pull request #1149 from Yarwin/fix-collision-shapes-debug-color-unavailable
Make CollisionShapes `...debug_color` methods available in release builds.
2 parents 107adbe + a8e278f commit 48b634a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

godot-codegen/src/special_cases/special_cases.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ pub fn is_class_method_deleted(class_name: &TyName, method: &JsonClassMethod, ct
6565
| ("VisualShaderNodeComment", "get_description")
6666
=> true,
6767

68-
// Workaround for methods unexposed in Release mode, see https://github.com/godotengine/godot/pull/100317
69-
// and https://github.com/godotengine/godot/pull/100328.
70-
#[cfg(not(debug_assertions))]
71-
| ("CollisionShape2D", "set_debug_color")
72-
| ("CollisionShape2D", "get_debug_color")
73-
| ("CollisionShape3D", "set_debug_color")
74-
| ("CollisionShape3D", "get_debug_color")
75-
| ("CollisionShape3D", "set_debug_fill_enabled")
76-
| ("CollisionShape3D", "get_debug_fill_enabled") => true,
77-
7868
// Thread APIs
7969
#[cfg(not(feature = "experimental-threads"))]
8070
| ("ResourceLoader", "load_threaded_get")

0 commit comments

Comments
 (0)