You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename path to paths
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user