diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-10 20:21:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 20:21:50 +0100 |
commit | 6a0a61d0001a4e7a7f3d97f1c71fb0427144aa64 (patch) | |
tree | b9e5c27402b6c215dade1e34e0571f6647960b0b /editor | |
parent | 356bab453486647c727a3a8d97063243c4e5c06d (diff) | |
parent | 2b41afb30e51629c439344439419b544ef12bf17 (diff) |
Merge pull request #14505 from akien-mga/bind_vmethod_return
Fix wrong return value in some virtual method bindings
Diffstat (limited to 'editor')
-rw-r--r-- | editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index b3743dbdf8..b187a9ae9d 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -70,7 +70,7 @@ void EditorResourceConversionPlugin::_bind_methods() { mi.name = "_handles"; mi.return_val = PropertyInfo(Variant::BOOL, ""); - BIND_VMETHOD(MethodInfo(Variant::BOOL, "_converts_to")); + BIND_VMETHOD(MethodInfo(Variant::STRING, "_converts_to")); } String EditorResourceConversionPlugin::converts_to() const { |