From 4b76b2caf5d63dac47f57e4684ea255a11ce89d6 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Tue, 11 Nov 2014 13:15:19 -0500 Subject: [PATCH 1/2] Fix AnimationTreePlayer.node_get_input_source typo - Changed node_get_input_sourcre to node_get_input_source --- doc/base/classes.xml | 2 +- scene/animation/animation_tree_player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index b28c050a61..9b78a399d6 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -2747,7 +2747,7 @@ types of nodes have different amount of inputs. - + diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index b55cc0d1a3..ec72123c98 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -1662,7 +1662,7 @@ void AnimationTreePlayer::_bind_methods() { ObjectTypeDB::bind_method(_MD("node_get_type","id"),&AnimationTreePlayer::node_get_type); ObjectTypeDB::bind_method(_MD("node_get_input_count","id"),&AnimationTreePlayer::node_get_input_count); - ObjectTypeDB::bind_method(_MD("node_get_input_sourcre","id","idx"),&AnimationTreePlayer::node_get_input_source); + ObjectTypeDB::bind_method(_MD("node_get_input_source","id","idx"),&AnimationTreePlayer::node_get_input_source); ObjectTypeDB::bind_method(_MD("animation_node_set_animation","id","animation:Animation"),&AnimationTreePlayer::animation_node_set_animation); ObjectTypeDB::bind_method(_MD("animation_node_get_animation:Animation","id"),&AnimationTreePlayer::animation_node_get_animation); From 6628c0035bdf734a8280e5b481dc8486860e538e Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Tue, 11 Nov 2014 13:57:25 -0500 Subject: [PATCH 2/2] Fixed documentation typo --- doc/base/classes.xml | 2 +- tools/docdump/class_list.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 9b78a399d6..2c49926d66 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -2392,7 +2392,7 @@ - Add an animation resource to the player, which will be later referenced by the "name" arguemnt. + Add an animation resource to the player, which will be later referenced by the "name" argument. diff --git a/tools/docdump/class_list.xml b/tools/docdump/class_list.xml index 897477ff48..ab33cef7d7 100644 --- a/tools/docdump/class_list.xml +++ b/tools/docdump/class_list.xml @@ -319,7 +319,7 @@ - Add an animation resource to the player, which will be later referenced by the "name" arguemnt. + Add an animation resource to the player, which will be later referenced by the "name" argument.