@@ -125,7 +125,6 @@
loader.load( "models/json/scene-animation.json", function ( loadedScene ) {
sceneAnimationClip = loadedScene.animations[0];
- console.log('sceneAnimationClip', sceneAnimationClip);
scene = loadedScene;
scene.add( camera );
scene.fog = new THREE.Fog( 0xffffff, 2000, 10000 );
@@ -61,9 +61,8 @@ THREE.ObjectLoader.prototype = {
var object = this.parseObject( json.object, geometries, materials );
if( json.animations ) {
- console.log( json.animations );
+
object.animations = this.parseAnimations( json.animations );
- console.log( object.animations );
}