|
@@ -956,8 +956,8 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, double
|
|
}
|
|
}
|
|
|
|
|
|
if (player->is_playing()) {
|
|
if (player->is_playing()) {
|
|
- player->play(anim_name);
|
|
|
|
player->seek(at_anim_pos);
|
|
player->seek(at_anim_pos);
|
|
|
|
+ player->play(anim_name);
|
|
nc->animation_playing = true;
|
|
nc->animation_playing = true;
|
|
playing_caches.insert(nc);
|
|
playing_caches.insert(nc);
|
|
} else {
|
|
} else {
|
|
@@ -985,8 +985,8 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, double
|
|
nc->animation_playing = false;
|
|
nc->animation_playing = false;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
|
|
+ player->seek(0.0);
|
|
player->play(anim_name);
|
|
player->play(anim_name);
|
|
- player->seek(0.0, true);
|
|
|
|
nc->animation_playing = true;
|
|
nc->animation_playing = true;
|
|
playing_caches.insert(nc);
|
|
playing_caches.insert(nc);
|
|
}
|
|
}
|