summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-15 21:21:09 +0200
committerGitHub <noreply@github.com>2020-04-15 21:21:09 +0200
commit9c80674aeeeab6cce7db6fbd6ea2805d9d0fee3b (patch)
tree0949d2f8e3a95bf031ec6c5b4f5d03de5d6c136d
parentdcebe668162d6927dff49049a194dc25353f72da (diff)
parent188bb6f86720c2d2397dfb9694745156be8e24a3 (diff)
Merge pull request #37911 from madmiraal/fix-32876
Run SpringArm3D's process within physics.
-rw-r--r--scene/3d/spring_arm_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spring_arm_3d.cpp b/scene/3d/spring_arm_3d.cpp
index 281be3f7d3..a5460593c9 100644
--- a/scene/3d/spring_arm_3d.cpp
+++ b/scene/3d/spring_arm_3d.cpp
@@ -53,7 +53,7 @@ void SpringArm3D::_notification(int p_what) {
set_process_internal(false);
}
break;
- case NOTIFICATION_INTERNAL_PROCESS:
+ case NOTIFICATION_INTERNAL_PHYSICS_PROCESS:
process_spring();
break;
}