diff --git a/brfMesh.cpp b/brfMesh.cpp index bf77a81..8ba8070 100644 --- a/brfMesh.cpp +++ b/brfMesh.cpp @@ -3471,6 +3471,14 @@ bool BrfMesh::reverseVertexAni(){ return false; std::reverse(frame.begin(), frame.end()); + + /* swy: also swap the times of each frame around (set the timing of the first to the last one and so on); + I don't know if keeping them as-is after reversing is useful, who knows. + skeletal anims don't need seem to need this */ + std::vector timings; + GetTimings(timings); + std::reverse(timings.begin(), timings.end()); + SetTimings(timings); return true; } \ No newline at end of file