summaryrefslogtreecommitdiffstats
path: root/scene/3d/sprite_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/sprite_3d.cpp')
-rw-r--r--scene/3d/sprite_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp
index 5d686e8715..52ae8fc5ab 100644
--- a/scene/3d/sprite_3d.cpp
+++ b/scene/3d/sprite_3d.cpp
@@ -1036,7 +1036,7 @@ void AnimatedSprite3D::_validate_property(PropertyInfo& property) const {
void AnimatedSprite3D::_notification(int p_what) {
switch(p_what) {
- case NOTIFICATION_PROCESS: {
+ case NOTIFICATION_INTERNAL_PROCESS: {
if (frames.is_null())
return;
@@ -1239,7 +1239,7 @@ void AnimatedSprite3D::_set_playing(bool p_playing) {
return;
playing=p_playing;
_reset_timeout();
- set_process(playing);
+ set_process_internal(playing);
}
bool AnimatedSprite3D::_is_playing() const {