summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorTheo Hallenius <redsymbzone@hotmail.com>2014-07-07 22:54:34 +0200
committerTheo Hallenius <redsymbzone@hotmail.com>2014-07-07 22:54:34 +0200
commit9aa278c590397d0ad0f1fee80d3fafc52e00d2d4 (patch)
tree02b5d9fcdb7cdfce7bd25e503e44925a20c80d91 /scene/animation
parent9ff6d55822647c87eef392147ea15641d0922d47 (diff)
Timeseek works like this
Diffstat (limited to 'scene/animation')
-rw-r--r--scene/animation/animation_tree_player.cpp5
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) {