瀏覽代碼

remove some left over console.log statements.

Ben Houston 10 年之前
父節點
當前提交
94d8f1ad06
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. 0 1
      examples/webgl_animation_scene.html
  2. 1 2
      src/loaders/ObjectLoader.js

+ 0 - 1
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 );

+ 1 - 2
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 );
 
 		}