summaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree_player.cpp
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2014-08-14 10:29:35 -0300
committerreduz <reduzio@gmail.com>2014-08-14 10:29:35 -0300
commit20159ea7e956e1d8cd4502acc5d9f6aeb642e9f1 (patch)
tree5b0ee85267083b683da5c6dea96a3890d360283a /scene/animation/animation_tree_player.cpp
parent62abbe32a1fd202dee9394d0d65125f34ef8afbc (diff)
parent9aa278c590397d0ad0f1fee80d3fafc52e00d2d4 (diff)
Merge pull request #608 from TheoXD/timeseek_node_seek
Timeseek works like this
Diffstat (limited to 'scene/animation/animation_tree_player.cpp')
-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) {