Improve some DirAccess usage
This commit is contained in:
parent
272b355954
commit
73fdb22668
3 changed files with 3 additions and 3 deletions
|
|
@ -542,7 +542,7 @@ void EditorExportPlatform::_edit_filter_list(Set<String> &r_list, const String &
|
|||
filters.push_back(f);
|
||||
}
|
||||
|
||||
DirAccess *da = DirAccess::open("res://");
|
||||
DirAccess *da = DirAccess::create(DirAccess::ACCESS_RESOURCES);
|
||||
ERR_FAIL_NULL(da);
|
||||
_edit_files_with_filter(da, filters, r_list, exclude);
|
||||
memdelete(da);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue