mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix Input Map key assignments missing after project conversion
Fixes #76336 (Input Map keys missing). Moves the project.godot config_version stamping from the project manager to the project converter. Now there's no difference between converting through the project manager and the CLI tool. Fixes being prompted to re-convert the project in the project manager after having done so through the CLI tool.
This commit is contained in:
parent
a8453cb333
commit
0985019c28
2 changed files with 3 additions and 8 deletions
|
|
@ -439,6 +439,7 @@ bool ProjectConverter3To4::convert() {
|
|||
rename_common(RenamesMap3To4::builtin_types_renames, reg_container.builtin_types_regexes, source_lines);
|
||||
rename_input_map_scancode(source_lines, reg_container);
|
||||
rename_common(RenamesMap3To4::input_map_renames, reg_container.input_map_regexes, source_lines);
|
||||
custom_rename(source_lines, "config_version=4", "config_version=5");
|
||||
} else if (file_name.ends_with(".csproj")) {
|
||||
// TODO
|
||||
} else if (file_name.ends_with(".import")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue