Rename path to paths
This commit is contained in:
parent
174b9a5f9e
commit
e13e343c9c
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
resource = ResourceLoader::load(path);
|
||||
|
|
|
@ -58,7 +58,7 @@ class ResourcePreloaderEditor : public PanelContainer {
|
|||
|
||||
void _load_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 _delete_pressed();
|
||||
void _delete_confirm_pressed();
|
||||
|
|
Loading…
Reference in a new issue