summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-26 11:21:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-11-26 11:21:06 +0100
commitf30745bd85ea1a139ff0873d9e96f13d7b90db69 (patch)
tree71e13207bce4e6323517b8ae41760c9e9b45e469 /scene
parente8e3a780be06d24e4b777cc8855eb8397d2a1439 (diff)
Fixup to typo and indentation in 81c86e8
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index 03c3c78768..2c8cbbdbd1 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -397,7 +397,7 @@ void AnimationNode::_validate_property(PropertyInfo &property) const {
Ref<AnimationNode> AnimationNode::get_child_by_name(const StringName &p_name) {
if (get_script_instance()) {
- return get_script_instance()->call("get_child_by_nane");
+ return get_script_instance()->call("get_child_by_name");
}
return Ref<AnimationNode>();
}