summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-04-11 09:28:14 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-04-11 09:28:14 +0200
commitfbc61374ca267545a45e00c44e13433dd2c1b1a9 (patch)
treef91e37ddf38734b0e16139950675ccf8746d62eb /scene/animation
parentfa97ec23858d9c997e7c33ceecb292c5ab75c531 (diff)
Use internal physics processing for Nodes' internal logic
Diffstat (limited to 'scene/animation')
-rw-r--r--scene/animation/animation_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index b5bba885c4..63580bcae6 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -182,8 +182,8 @@ void AnimationPlayer::_notification(int p_what) {
if (!processing) {
//make sure that a previous process state was not saved
//only process if "processing" is set
- set_physics_process(false);
- set_process(false);
+ set_physics_process_internal(false);
+ set_process_internal(false);
}
//_set_process(false);
clear_caches();