summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Steward <nulifier@gmail.com>2015-02-10 14:22:05 -0700
committerJeffrey Steward <nulifier@gmail.com>2015-02-10 14:23:49 -0700
commit84be16758e1816307a47f9cfacca40eea6446f6a (patch)
treed904aa38e1d0195ec11b5015225e8a7f48ece369
parent6e54fa3d4755242f70e7ee21389bf679724eb4f2 (diff)
Added the default arguments to the binding for ResourceImportMetadata::add_source to match the c++ version
-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);