Fix AnimatedSprite play() don't redraw immediately

This commit is contained in:
Silc Renew
2023-01-29 00:24:52 +09:00
parent 218bef90af
commit fa198c482e
4 changed files with 9 additions and 5 deletions

View File

@@ -1182,8 +1182,9 @@ void AnimatedSprite3D::play(const StringName &p_name, float p_custom_scale, bool
}
}
notify_property_list_changed();
set_process_internal(true);
notify_property_list_changed();
_queue_redraw();
}
void AnimatedSprite3D::play_backwards(const StringName &p_name) {