diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2021-03-13 01:04:55 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2021-03-13 01:04:59 +0100 |
commit | ee8e5146a4ea287963fca3d1e50e62945da2aea8 (patch) | |
tree | 60cdb9274644188034acc4e8d5901e18654a8cc5 /.gitignore | |
parent | bf309b8a139732387229228f86939516c7dc64d4 (diff) |
C#: Fix ScriptPathAttribute generator with none or nested namespaces
The following two bugs were fixed:
- For classes without namespace we were still generating `namespace {`
without a namespace identifier, causing a syntax error.
- For classes with nested namespaces we were generating only the innermost
part of the namespace was being generated, e.g.: for `Foo.Bar` we were
generating `namespace Bar {` instead of `namespace Foo.Bar {`.
This wasn't causing any build error, but because of the wrong namespace
Godot wasn't able to find the class associated with the script.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions