Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files

This commit is contained in:
Garym3 2023-06-15 22:55:02 +02:00
parent 013a457068
commit e5d55e35c2

View file

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