summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorsanikoyes <sanikoyes@163.com>2016-03-18 18:26:02 +0800
committersanikoyes <sanikoyes@163.com>2016-03-18 18:26:02 +0800
commite13e343c9ceac6be272347f5aba5e3fc59d63fba (patch)
tree5eb7fb114111b895f1d2550023d05608b94455e4 /tools/editor/plugins
parent174b9a5f9e2382508df320f6ee1188fd3572c44b (diff)
Rename path to paths
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/resource_preloader_editor_plugin.cpp6
-rw-r--r--tools/editor/plugins/resource_preloader_editor_plugin.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/plugins/resource_preloader_editor_plugin.cpp b/tools/editor/plugins/resource_preloader_editor_plugin.cpp
index 5b9a096c77..0459ed85bd 100644
--- a/tools/editor/plugins/resource_preloader_editor_plugin.cpp
+++ b/tools/editor/plugins/resource_preloader_editor_plugin.cpp
@@ -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);
diff --git a/tools/editor/plugins/resource_preloader_editor_plugin.h b/tools/editor/plugins/resource_preloader_editor_plugin.h
index 756fefeb04..0bc94079a5 100644
--- a/tools/editor/plugins/resource_preloader_editor_plugin.h
+++ b/tools/editor/plugins/resource_preloader_editor_plugin.h
@@ -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();