Skip to content

Commit 5846151

Browse files
committed
Remove some console logs
1 parent 529bd2e commit 5846151

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

lib/ColladaLoader.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -3075,7 +3075,7 @@ THREE.ColladaLoader.prototype = {
30753075

30763076
} else {
30773077

3078-
console.log( 'THREE.ColladaLoader: ' + jointIndex + ' does not exist.' );
3078+
console.warn( 'THREE.ColladaLoader: ' + jointIndex + ' does not exist.' );
30793079

30803080
}
30813081

@@ -3252,7 +3252,7 @@ THREE.ColladaLoader.prototype = {
32523252
break;
32533253

32543254
default:
3255-
console.log( child );
3255+
console.warn( child );
32563256

32573257
}
32583258

@@ -3503,7 +3503,6 @@ THREE.ColladaLoader.prototype = {
35033503
for ( var i = 0, l = instanceControllers.length; i < l; i ++ ) {
35043504

35053505
var instance = instanceControllers[ i ];
3506-
console.log(instance);
35073506
var controller = getController( instance.id );
35083507
var geometries = getGeometry( controller.id );
35093508
var newObjects = buildObjects( geometries, instance.materials );

src/funksolo.js

-2
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,11 @@
242242
this.tireThrob = 0;
243243
Loader.loadAjax('res/robot.dae', text => {
244244
const model = loader.parse(text).scene;
245-
console.log(model);
246245
this.robot = model;
247246
const scale = 0.02;
248247
model.scale.set(scale, scale, scale);
249248
model.position.z = 0;
250249
model.position.x = -2.5;
251-
console.log(model.children[0].children.map((o, i) => [o.children[0].geometry.name, i]));
252250
this.tire1 = model.children[0].children[95].children[0];
253251
this.tire2 = model.children[0].children[20].children[0];
254252
this.tireRing1 = model.children[0].children[10].children[0];

src/utils.js

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
// theta - radian value of rotation
77
// pointIsWorld - boolean indicating the point is in world coordinates (default = false)
88
function rotateAboutPoint(obj, point, axis, theta, pointIsWorld){
9-
console.log(obj);
10-
console.log(point);
11-
console.log(axis);
12-
console.log(theta);
139
pointIsWorld = (pointIsWorld === undefined) ? false : pointIsWorld;
1410

1511
if(pointIsWorld){

0 commit comments

Comments
 (0)