浏览代码

fix whitespace in Object3D.js

Justin Sermeno 14 年之前
父节点
当前提交
340f82394f
共有 1 个文件被更改,包括 11 次插入11 次删除
  1. 11 11
      src/core/Object3D.js

+ 11 - 11
src/core/Object3D.js

@@ -130,30 +130,30 @@ THREE.Object3D.prototype = {
 	},
 	},
 
 
 	removeChild: function ( child ) {
 	removeChild: function ( child ) {
-        var scene = this;
+		var scene = this;
 
 
 		var childIndex = this.children.indexOf( child );
 		var childIndex = this.children.indexOf( child );
 
 
 		if ( childIndex !== - 1 ) {
 		if ( childIndex !== - 1 ) {
 
 
-            child.parent = undefined;
-            this.children.splice( childIndex, 1 );
+			child.parent = undefined;
+			this.children.splice( childIndex, 1 );
 
 
-            // remove from scene
+			// remove from scene
 
 
-            while ( scene.parent !== undefined ) {
+			while ( scene.parent !== undefined ) {
 
 
-                scene = scene.parent;
+				scene = scene.parent;
 
 
-            }
+			}
 
 
-            if ( scene !== undefined && scene instanceof THREE.Scene ) {
+			if ( scene !== undefined && scene instanceof THREE.Scene ) {
 
 
-                scene.removeChildRecurse( child );
+				scene.removeChildRecurse( child );
 
 
-            }
+			}
 
 
-        }
+		}
 
 
 	},
 	},