diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-10 15:10:54 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-10 15:34:08 +0100 |
commit | 2b41afb30e51629c439344439419b544ef12bf17 (patch) | |
tree | b550031a281a0bb1b05d90c38a879c9299840ca2 /editor | |
parent | 6b6f94fb0c4a23b27295d84c43e219ed721f4d06 (diff) |
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 { |