fix random inifinite loop when open editor

This commit is contained in:
volzhs 2016-05-31 14:21:13 +09:00
parent 344a39dafd
commit 8804b93953
1 changed files with 1 additions and 1 deletions

View File

@ -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 {