Browse Source

Merge pull request #878 from bdero/bdero/fix-animation-tree-player-typo

Fix AnimationTreePlayer.node_get_input_source typo
Juan Linietsky 10 years ago
parent
commit
c8cd5222a7
3 changed files with 4 additions and 4 deletions
  1. 2 2
      doc/base/classes.xml
  2. 1 1
      scene/animation/animation_tree_player.cpp
  3. 1 1
      tools/docdump/class_list.xml

+ 2 - 2
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">

+ 1 - 1
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);

+ 1 - 1
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"  >