Browse Source

Clean up.

Mr.doob 9 years ago
parent
commit
895fb6f709
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/core/Object3D.js

+ 1 - 2
src/core/Object3D.js

@@ -546,9 +546,8 @@ THREE.Object3D.prototype = {
 
 	toJSON: function ( meta ) {
 
+		// meta is '' when called from JSON.stringify
 		var isRootObject = ( meta === undefined || meta === '' );
-		// when meta is an empty string, this method has been called from
-		// within JSON.stringify
 
 		var output = {};