diff options
author | volzhs <volzhs@gmail.com> | 2016-05-31 14:21:13 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2016-05-31 14:21:13 +0900 |
commit | 8804b939531f6cab6b1db35da846403f6d60fd04 (patch) | |
tree | ab57704608f12c6806ecad93356970062ea77b6e /tools/editor | |
parent | 344a39dafd13922ee535928df284d4a87e8721fd (diff) |
fix random inifinite loop when open editor
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/editor_file_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp index 3fd5f7e444..c5c92b5228 100644 --- a/tools/editor/editor_file_system.cpp +++ b/tools/editor/editor_file_system.cpp @@ -161,7 +161,7 @@ int EditorFileSystemDirectory::get_source_count(int p_idx) const { ERR_FAIL_INDEX_V(p_idx,files.size(),0); if (!files[p_idx]->meta.enabled) return 0; - + return files[p_idx]->meta.sources.size(); } String EditorFileSystemDirectory::get_source_file(int p_idx,int p_source) const { |