Rename path to paths

This commit is contained in:
sanikoyes 2016-03-18 18:26:02 +08:00
parent 174b9a5f9e
commit e13e343c9c
2 changed files with 4 additions and 4 deletions

View file

@ -60,11 +60,11 @@ void ResourcePreloaderEditor::_notification(int p_what) {
} }
} }
void ResourcePreloaderEditor::_files_load_request(const Vector<String>& p_path) { void ResourcePreloaderEditor::_files_load_request(const Vector<String>& p_paths) {
for(int i=0;i<p_path.size();i++) { for(int i=0;i<p_paths.size();i++) {
String path = p_path[i]; String path = p_paths[i];
RES resource; RES resource;
resource = ResourceLoader::load(path); resource = ResourceLoader::load(path);

View file

@ -58,7 +58,7 @@ class ResourcePreloaderEditor : public PanelContainer {
void _load_pressed(); void _load_pressed();
void _load_scene_pressed(); void _load_scene_pressed();
void _files_load_request(const Vector<String>& p_path); void _files_load_request(const Vector<String>& p_paths);
void _paste_pressed(); void _paste_pressed();
void _delete_pressed(); void _delete_pressed();
void _delete_confirm_pressed(); void _delete_confirm_pressed();