Quellcode durchsuchen

Fix AnimationTreePlayer.node_get_input_source typo

- Changed node_get_input_sourcre to node_get_input_source
Brandon DeRosier vor 11 Jahren
Ursprung
Commit
4b76b2caf5
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      doc/base/classes.xml
  2. 1 1
      scene/animation/animation_tree_player.cpp

+ 1 - 1
doc/base/classes.xml

@@ -2747,7 +2747,7 @@
 			types of nodes have different amount of inputs.
 			types of nodes have different amount of inputs.
 			</description>
 			</description>
 		</method>
 		</method>
-		<method name="node_get_input_sourcre" qualifiers="const" >
+		<method name="node_get_input_source" qualifiers="const" >
 			<return type="String">
 			<return type="String">
 			</return>
 			</return>
 			<argument index="0" name="id" type="String">
 			<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_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_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_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);
 	ObjectTypeDB::bind_method(_MD("animation_node_get_animation:Animation","id"),&AnimationTreePlayer::animation_node_get_animation);