Browse Source

Timeseek works like this

Theo Hallenius 11 years ago
parent
commit
9aa278c590
1 changed files with 3 additions and 2 deletions
  1. 3 2
      scene/animation/animation_tree_player.cpp

+ 3 - 2
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) {