diff options
author | Theo Hallenius <redsymbzone@hotmail.com> | 2014-07-07 22:54:34 +0200 |
---|---|---|
committer | Theo Hallenius <redsymbzone@hotmail.com> | 2014-07-07 22:54:34 +0200 |
commit | 9aa278c590397d0ad0f1fee80d3fafc52e00d2d4 (patch) | |
tree | 02b5d9fcdb7cdfce7bd25e503e44925a20c80d91 | |
parent | 9ff6d55822647c87eef392147ea15641d0922d47 (diff) |
Timeseek works like this
-rw-r--r-- | scene/animation/animation_tree_player.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index bd124746ba..2d1821bc5c 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -1046,8 +1046,9 @@ void AnimationTreePlayer::timescale_node_set_scale(const StringName& p_node,floa void AnimationTreePlayer::timeseek_node_seek(const StringName& p_node,float p_pos) { -// GET_NODE( NODE_TIMESEEK, TimeSeekNode ); -//hmm + GET_NODE( NODE_TIMESEEK, TimeSeekNode ); + n->seek_pos=p_pos; + } void AnimationTreePlayer::transition_node_set_input_count(const StringName& p_node, int p_inputs) { |