From 63880c062be6f623a74f07e3cb1e9abeb5566011 Mon Sep 17 00:00:00 2001 From: tschw Date: Sat, 24 Oct 2015 00:02:41 +0200 Subject: [PATCH] Animation: Fixed JSON import. --- src/animation/KeyframeTrack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/KeyframeTrack.js b/src/animation/KeyframeTrack.js index da28822c46..ab35d3bc9c 100644 --- a/src/animation/KeyframeTrack.js +++ b/src/animation/KeyframeTrack.js @@ -400,7 +400,7 @@ Object.assign( THREE.KeyframeTrack, { var times = [], values = []; - THREE.AnimationUtils.flattenJSON( json, times, values, 'value' ); + THREE.AnimationUtils.flattenJSON( json[ 'keys' ], times, values, 'value' ); json[ 'times' ] = times; json[ 'values' ] = values; -- GitLab