summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-04-15 17:48:46 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-04-15 17:48:46 +0100
commit188bb6f86720c2d2397dfb9694745156be8e24a3 (patch)
tree03e85c8fb2a5fac9c236fe114bdfa989e5cc32e8
parent5b4ea6529a4a6d4698238f566bb032d3710a365b (diff)
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;
}