From 26092d194ff1aab216b1d18aba10e7d6d6e75f17 Mon Sep 17 00:00:00 2001 From: Luca Della Vedova Date: Mon, 30 Mar 2020 08:51:27 +0800 Subject: [PATCH] Update to latest interpolateX API --- src/rendering/SceneManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/SceneManager.cc b/src/rendering/SceneManager.cc index 4c31c0aca9..a052c6e133 100644 --- a/src/rendering/SceneManager.cc +++ b/src/rendering/SceneManager.cc @@ -620,7 +620,7 @@ rendering::VisualPtr SceneManager::CreateActor(Entity _id, trajInfo.SetWaypoints(waypoints); // Animations are offset by 1 because index 0 is taken by the mesh name auto animation = _actor.AnimationByIndex(trajInfo.AnimIndex()-1); - trajInfo.Waypoints()->InterpolateX(animation->InterpolateX()); + trajInfo.Waypoints()->SetInterpolateX(animation->InterpolateX()); } else {