Skip to content

Commit

Permalink
fix double inverses
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Oct 13, 2023
1 parent b4cbec6 commit 5a67b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/loadMixamoAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export function getMixamoAnimation( animations, model, vrm ) {
const vrmHipsHeight = Math.abs( vrmHipsY - vrmRootY );
const hipsPositionScale = vrmHipsHeight / motionHipsHeight;

clip.tracks.forEach( ( track ) => {

clip.tracks.forEach( ( origTrack ) => {
const track = origTrack.clone();
// Convert each tracks for VRM use, and push to `tracks`
const trackSplitted = track.name.split( '.' );
const mixamoRigName = trackSplitted[ 0 ];
Expand Down

0 comments on commit 5a67b32

Please sign in to comment.