diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-09-12 07:58:18 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-09-12 07:58:54 -0300 |
commit | 1c5376ae5951a4e47b972244cd2ec47760469b0c (patch) | |
tree | a7c20e5e0c5c0f65dcd794cca56f17a85256ae8e /scene | |
parent | aabbd00284640a4789f96702c134ea40b11b402e (diff) |
Many fixes to visual script, changed virtuals override for a proper selector.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/animation/animation_tree_player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index e2330eb0d4..7a5c7e450b 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -1156,6 +1156,7 @@ void AnimationTreePlayer::transition_node_set_xfade_time(const StringName &p_nod } void AnimationTreePlayer::TransitionNode::set_current(int p_current) { + ERR_FAIL_INDEX(p_current, inputs.size()); if (current == p_current) |