summaryrefslogtreecommitdiff
path: root/scene/3d/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r--scene/3d/path.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp
index 8abfb62d70..9005b6b566 100644
--- a/scene/3d/path.cpp
+++ b/scene/3d/path.cpp
@@ -126,7 +126,6 @@ void PathFollow::_update_transform() {
if (rotation_mode == ROTATION_ORIENTED) {
- Vector3 pos = c->interpolate_baked(o, cubic);
Vector3 forward = c->interpolate_baked(o_next, cubic) - pos;
if (forward.length_squared() < CMP_EPSILON2)