1
0
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:
Rémi Verschelde
2023-11-14 11:27:44 +01:00

View File

@@ -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;
}