diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-12-17 11:37:12 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-12-17 13:06:41 +0100 |
commit | 20d7013c600ea9c95255d74c35343db217d91bec (patch) | |
tree | 731978aed64e99945ee196cf274a029ec1db0659 /modules/squish | |
parent | 45908eebf335a162f83befa8de5b8b2b863be58b (diff) |
Mono/C#: Fix project export and fix FindLast/GetFile regression
d09193b08ae8fdb082bee6ffd3828eb19fd45ce6 introduced a regression in
StringExtensions.FindLast. StringExtensions.GetFile was also affected as it
relies on FindLast. This in turn broke the project exporter as it uses GetFile.
The cause of the regression is that now FindLast is calling LastIndexOf
with 'startIndex: 0'. This should be 'startIndex: str.Length - 1' instead.
Also fixed another regression in the project exporter:
de7c2ad21b4cc2d889a5aeda64ead962036d2aa4 moved 'GodotTools/GodotSharpExport.cs'
to 'GodotTools/Export/ExportPlugin.cs' and in doing so accidently reverted
the changes from commit e439581198de92e63661c4fe71108cb59cc2d999.
Diffstat (limited to 'modules/squish')
0 files changed, 0 insertions, 0 deletions