Skip to content

Commit

Permalink
Update to latest interpolateX API
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-della-vedova committed Mar 30, 2020
1 parent 0b931c0 commit 26092d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/SceneManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 26092d1

Please sign in to comment.