summaryrefslogtreecommitdiffstats
path: root/core/object.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-15 19:09:43 +0100
committerGitHub <noreply@github.com>2017-03-15 19:09:43 +0100
commit3ceefab232604b09d3fff843c24a13e99f50912b (patch)
treea8952f58e6eb511e688e48908c31edc11d25c8b0 /core/object.cpp
parentaf020160c6fa0eff7172faa8fad4190a81f5603f (diff)
parent6ab3213a557fac60d20b1e06db96a7f9e97d243a (diff)
downloadredot-engine-3ceefab232604b09d3fff843c24a13e99f50912b.tar.gz
Merge pull request #8020 from karroffel/class-db-inconsistency
fixed ClassDB inconsistencies
Diffstat (limited to 'core/object.cpp')
-rw-r--r--core/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp
index e9b332fafa..fe6f120c17 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1587,7 +1587,7 @@ void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_class"), &Object::get_class);
ClassDB::bind_method(D_METHOD("is_class", "type"), &Object::is_class);
ClassDB::bind_method(D_METHOD("set", "property", "value"), &Object::_set_bind);
- ClassDB::bind_method(D_METHOD("get", "property"), &Object::_get_bind);
+ ClassDB::bind_method(D_METHOD("get:Variant", "property"), &Object::_get_bind);
ClassDB::bind_method(D_METHOD("get_property_list"), &Object::_get_property_list_bind);
ClassDB::bind_method(D_METHOD("get_method_list"), &Object::_get_method_list_bind);
ClassDB::bind_method(D_METHOD("notification", "what", "reversed"), &Object::notification, DEFVAL(false));