mirror of https://github.com/godotengine/godot
Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files
This commit is contained in:
parent
013a457068
commit
e5d55e35c2
|
|
@ -436,6 +436,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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue