You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Merge pull request #83781 from martinfelis/fix-animationplayer-ready-autoplay
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready
This commit is contained in:
@@ -151,6 +151,7 @@ void AnimationPlayer::_notification(int p_what) {
|
||||
if (!Engine::get_singleton()->is_editor_hint() && animation_set.has(autoplay)) {
|
||||
set_active(true);
|
||||
play(autoplay);
|
||||
seek(0, true);
|
||||
}
|
||||
} break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user