diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-07-11 16:44:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 16:44:21 +0200 |
commit | b708546f50f82672caf79fcf5561b21801a5f103 (patch) | |
tree | 649829c8b72e629b5914afc01faf4cae835411c5 /modules | |
parent | 9f0a65b804da903b0c7ebdaffd80dee01acbdc28 (diff) | |
parent | 074801e7a9078c45e281787bc6e856747a957b23 (diff) |
Merge pull request #9602 from ducdetronquito/master
[#7212] Fixed missing 'Variant' return values in documentation.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/visual_script/visual_script_nodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index f707471405..5f24bcc2c3 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -1076,7 +1076,7 @@ void VisualScriptConstant::_bind_methods() { ClassDB::bind_method(D_METHOD("get_constant_type"), &VisualScriptConstant::get_constant_type); ClassDB::bind_method(D_METHOD("set_constant_value", "value"), &VisualScriptConstant::set_constant_value); - ClassDB::bind_method(D_METHOD("get_constant_value"), &VisualScriptConstant::get_constant_value); + ClassDB::bind_method(D_METHOD("get_constant_value:Variant"), &VisualScriptConstant::get_constant_value); String argt = "Null"; for (int i = 1; i < Variant::VARIANT_MAX; i++) { |