mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready.
Fixes #83326.
The issue was introduced in the refactoring done in 1b95827d3e.
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