From 94d8f1ad06934e21220c6eaf7ed35566c0c82f98 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Thu, 17 Sep 2015 15:17:05 -0400 Subject: [PATCH] remove some left over console.log statements. --- examples/webgl_animation_scene.html | 1 - src/loaders/ObjectLoader.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/webgl_animation_scene.html b/examples/webgl_animation_scene.html index f63e2b7c15a89b..5658caa033f6b7 100644 --- a/examples/webgl_animation_scene.html +++ b/examples/webgl_animation_scene.html @@ -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 ); diff --git a/src/loaders/ObjectLoader.js b/src/loaders/ObjectLoader.js index 38110d5659464a..a0114add83a866 100755 --- a/src/loaders/ObjectLoader.js +++ b/src/loaders/ObjectLoader.js @@ -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 ); }