summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-02-11 07:07:59 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-02-11 07:07:59 -0300
commit7f88df73bef93ce2627be2921919216a3fae5dc3 (patch)
tree6f3dd0aba1f93c1246db74fd9e9d6d5338e2a80f /core
parent1d54c2dd1c94cd8b44fc9cd5a67deba88dbabdda (diff)
parent84be16758e1816307a47f9cfacca40eea6446f6a (diff)
Merge pull request #1346 from Nulifier/import-plugin
Added the ability to add and remove editor import plugins.
Diffstat (limited to 'core')
-rw-r--r--core/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/resource.cpp b/core/resource.cpp
index 987bd772b0..560ca9a1f2 100644
--- a/core/resource.cpp
+++ b/core/resource.cpp
@@ -130,7 +130,7 @@ void ResourceImportMetadata::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_editor","name"),&ResourceImportMetadata::set_editor);
ObjectTypeDB::bind_method(_MD("get_editor"),&ResourceImportMetadata::get_editor);
- ObjectTypeDB::bind_method(_MD("add_source","path","md5"),&ResourceImportMetadata::add_source);
+ ObjectTypeDB::bind_method(_MD("add_source","path","md5"),&ResourceImportMetadata::add_source, "");
ObjectTypeDB::bind_method(_MD("get_source_path","idx"),&ResourceImportMetadata::get_source_path);
ObjectTypeDB::bind_method(_MD("get_source_md5","idx"),&ResourceImportMetadata::get_source_md5);
ObjectTypeDB::bind_method(_MD("remove_source","idx"),&ResourceImportMetadata::remove_source);