소스 검색

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 );
 
 		}