diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-09 13:19:08 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-10 07:17:50 +0200 |
commit | 1e74f27f8fe962f51e6b1786f861c89863492745 (patch) | |
tree | 816bfc86a8b8c4db7b882dab891da7cbd604f2b9 /core | |
parent | 46fdf163991f6f6893e00b301267c6ef2380008e (diff) |
Adds missing type information to virtual method binds
Diffstat (limited to 'core')
-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 de75257ede..c9b7718cf1 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1738,7 +1738,7 @@ void Object::_bind_methods() { ADD_SIGNAL(MethodInfo("script_changed")); BIND_VMETHOD(MethodInfo("_notification", PropertyInfo(Variant::INT, "what"))); - BIND_VMETHOD(MethodInfo("_set", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::NIL, "value"))); + BIND_VMETHOD(MethodInfo("_set:bool", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::NIL, "value"))); #ifdef TOOLS_ENABLED MethodInfo miget("_get", PropertyInfo(Variant::STRING, "property")); miget.return_val.name = "Variant"; |