Merge pull request #74580 from Garym3/3-to-4-converter-fix-ogg-import-file-conversion

Fix bad OGG importer's name inside .import files during project conversion
This commit is contained in:
Rémi Verschelde 2023-06-16 10:18:23 +02:00
commit a7a1012d98
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -459,6 +459,8 @@ bool ProjectConverter3To4::convert() {
String &line = source_line.line; String &line = source_line.line;
if (line.contains("nodes/root_type=\"Spatial\"")) { if (line.contains("nodes/root_type=\"Spatial\"")) {
line = "nodes/root_type=\"Node3D\""; line = "nodes/root_type=\"Node3D\"";
} else if (line == "importer=\"ogg_vorbis\"") {
line = "importer=\"oggvorbisstr\"";
} }
} }
} else { } else {