summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r--editor/editor_file_system.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index b1d591d0f3..b6d1b92f9f 100644
--- a/editor/editor_file_system.cpp
+++ b/editor/editor_file_system.cpp
@@ -261,7 +261,8 @@ void EditorFileSystem::_scan_filesystem() {
cpath = name;
} else {
- Vector<String> split = l.split("::");
+ // The last section (deps) may contain the same splitter, so limit the maxsplit to 8 to get the complete deps.
+ Vector<String> split = l.split("::", true, 8);
ERR_CONTINUE(split.size() < 9);
String name = split[0];
String file;