Skip to content

Commit

Permalink
revet change
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Koenig <nate@openrobotics.org>
  • Loading branch information
Nate Koenig committed Oct 6, 2022
1 parent 390ac29 commit 12726e3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/rendering/SceneManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2277,14 +2277,7 @@ SceneManager::LoadAnimations(const sdf::Actor &_actor)
}
}
if (addAnim)
{
if (!meshSkel->AddBvhAnimation(animFilename, animScale))
{
ignerr << "Bvh animation in file " << animFilename
<< " failed to load during actor creation" << std::endl;
continue;
}
}
meshSkel->AddBvhAnimation(animFilename, animScale);
mapAnimNameId[animName] = numAnims++;
}
else if (extension == "dae")
Expand Down

0 comments on commit 12726e3

Please sign in to comment.