diff options
| author | Theo Hallenius | 2014-07-07 22:54:34 +0200 |
|---|---|---|
| committer | Theo Hallenius | 2014-07-07 22:54:34 +0200 |
| commit | 9aa278c590397d0ad0f1fee80d3fafc52e00d2d4 (patch) | |
| tree | 02b5d9fcdb7cdfce7bd25e503e44925a20c80d91 /scene/animation/animation_tree_player.cpp | |
| parent | 9ff6d55822647c87eef392147ea15641d0922d47 (diff) | |
| download | godot-9aa278c590397d0ad0f1fee80d3fafc52e00d2d4.tar.gz godot-9aa278c590397d0ad0f1fee80d3fafc52e00d2d4.tar.zst godot-9aa278c590397d0ad0f1fee80d3fafc52e00d2d4.zip | |
Timeseek works like this
Diffstat (limited to '')
| -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 bd124746b..2d1821bc5 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) { |
