mirror of https://github.com/godotengine/godot
Merge pull request #65663 from lawnjelly/vital_updates_animated_sprite
Low priority redraw request for AnimatedSprite
This commit is contained in:
commit
5ff2c773aa
|
|
@ -367,6 +367,9 @@ void AnimatedSprite::_notification(int p_what) {
|
|||
if (frame < 0) {
|
||||
return;
|
||||
}
|
||||
if (!OS::get_singleton()->is_update_pending()) {
|
||||
return;
|
||||
}
|
||||
|
||||
float remaining = get_process_delta_time();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue