diff options
| author | Pieter-Jan Briers | 2018-02-16 13:44:48 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-19 22:30:45 +0100 |
| commit | 3e6ab9f3d59056b2ca168f42e1b522b032b412be (patch) | |
| tree | 42c4a720fb9f1b792b33c1c37d144176e395c748 | |
| parent | 9f9731da3a57e70a698b330b845fc435ef325d04 (diff) | |
| download | godot-3e6ab9f3d59056b2ca168f42e1b522b032b412be.tar.gz godot-3e6ab9f3d59056b2ca168f42e1b522b032b412be.tar.zst godot-3e6ab9f3d59056b2ca168f42e1b522b032b412be.zip | |
Makes NodePath and RID follow PascalCase in C#.
Fixes #15685
(cherry picked from commit b1a81374d4e2ac6150a95c3ce9af8d46720b717e)
| -rw-r--r-- | modules/mono/editor/bindings_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index 62c7a9475..f53470626 100644 --- a/modules/mono/editor/bindings_generator.cpp +++ b/modules/mono/editor/bindings_generator.cpp @@ -2365,7 +2365,7 @@ void BindingsGenerator::_populate_builtin_type(TypeInterface &r_itype, Variant:: imethod.name = mi.name; imethod.cname = imethod.name; - imethod.proxy_name = mi.name; + imethod.proxy_name = escape_csharp_keyword(snake_to_pascal_case(mi.name)); for (int i = 0; i < mi.arguments.size(); i++) { ArgumentInterface iarg; |
