From e73121a24e11e4b54eb1805eea1ac745329ae625 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Fri, 31 Mar 2023 18:27:57 +0000 Subject: [PATCH] lint Signed-off-by: Ian Chen --- src/rendering/SceneManager.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rendering/SceneManager.cc b/src/rendering/SceneManager.cc index f610118abc..0d6109cc57 100644 --- a/src/rendering/SceneManager.cc +++ b/src/rendering/SceneManager.cc @@ -2367,7 +2367,8 @@ SceneManagerPrivate::LoadTrajectories(const sdf::Actor &_actor, if (_meshSkel) { - // Animations are offset by 1 because index 0 is taken by the mesh name + // Animations are offset by 1 because index 0 is taken by the mesh + // name auto animation = _actor.AnimationByIndex(trajInfo.AnimIndex() - 1); if (animation && animation->InterpolateX() && _meshSkel)