diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-03-15 19:09:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-15 19:09:43 +0100 |
| commit | 3ceefab232604b09d3fff843c24a13e99f50912b (patch) | |
| tree | a8952f58e6eb511e688e48908c31edc11d25c8b0 /core/object.cpp | |
| parent | af020160c6fa0eff7172faa8fad4190a81f5603f (diff) | |
| parent | 6ab3213a557fac60d20b1e06db96a7f9e97d243a (diff) | |
| download | redot-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.cpp | 2 |
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)); |
