summaryrefslogtreecommitdiffstats
path: root/editor/project_converter_3_to_4.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-16 10:18:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-16 10:18:23 +0200
commita7a1012d98cac2e104da8a619012290b5de6b816 (patch)
tree908dcd069a14bf98397e410ddced15e5c891db8f /editor/project_converter_3_to_4.cpp
parent9c41c4ecb6d122792fae2060e2a411ecf6812add (diff)
parente5d55e35c22c346476c518190a8018ec3fd624f8 (diff)
downloadredot-engine-a7a1012d98cac2e104da8a619012290b5de6b816.tar.gz
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
Diffstat (limited to 'editor/project_converter_3_to_4.cpp')
-rw-r--r--editor/project_converter_3_to_4.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp
index 74bf32d133..e9af697226 100644
--- a/editor/project_converter_3_to_4.cpp
+++ b/editor/project_converter_3_to_4.cpp
@@ -459,6 +459,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 {