mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Make activating on ready in AnimationPlayer respect the property value
This commit is contained in:
parent
6118592c6d
commit
470c2f24e9
@ -149,7 +149,7 @@ void AnimationPlayer::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_READY: {
|
||||
if (!Engine::get_singleton()->is_editor_hint() && animation_set.has(autoplay)) {
|
||||
set_active(true);
|
||||
set_active(active);
|
||||
play(autoplay);
|
||||
_check_immediately_after_start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user