summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-11-11 19:13:15 -0200
committerJuan Linietsky <reduzio@gmail.com>2014-11-11 19:13:15 -0200
commitc8cd5222a7fa931f072e02b23c5b9d826d0ef548 (patch)
tree506d371e3eb3d31e016ed3a2916f5c520b96606a
parent72d5c2b8caa7416ca2c8e66cddf14f65167cc6c1 (diff)
parent6628c0035bdf734a8280e5b481dc8486860e538e (diff)
Merge pull request #878 from bdero/bdero/fix-animation-tree-player-typo
Fix AnimationTreePlayer.node_get_input_source typo
-rw-r--r--doc/base/classes.xml4
-rw-r--r--scene/animation/animation_tree_player.cpp2
-rw-r--r--tools/docdump/class_list.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index b28c050a61..2c49926d66 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -2392,7 +2392,7 @@
<argument index="1" name="animation" type="Animation">
</argument>
<description>
- 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.
</description>
</method>
<method name="remove_animation" >
@@ -2747,7 +2747,7 @@
types of nodes have different amount of inputs.
</description>
</method>
- <method name="node_get_input_sourcre" qualifiers="const" >
+ <method name="node_get_input_source" qualifiers="const" >
<return type="String">
</return>
<argument index="0" name="id" type="String">
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);
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 @@
<argument index="1" name="animation" type="Object">
</argument>
<description>
- Add an animation resource to the player, which will be later referenced by the &quot;name&quot; arguemnt.
+ Add an animation resource to the player, which will be later referenced by the &quot;name&quot; argument.
</description>
</method>
<method name="remove_animation" >