diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-31 07:37:28 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-31 07:37:28 +0200 |
commit | 4f596e1924386500fa723317c68584e1b22f4b91 (patch) | |
tree | b8688580273f94fcdce1b035308f9265fc3b1974 /tools/editor | |
parent | dffbc19c8a5cb5f804159b948bf1848787f760db (diff) | |
parent | 8804b939531f6cab6b1db35da846403f6d60fd04 (diff) |
Merge pull request #4946 from volzhs/issue-4927
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 { |