Browse Source

Editor: Removed unneeded selectionBox update.

Mr.doob 10 years ago
parent
commit
8e326bdf1e
1 changed files with 0 additions and 6 deletions
  1. 0 6
      editor/js/Viewport.js

+ 0 - 6
editor/js/Viewport.js

@@ -370,12 +370,6 @@ var Viewport = function ( editor ) {
 
 		transformControls.update();
 
-		if ( object.geometry !== undefined ) {
-
-			selectionBox.update( object );
-
-		}
-
 		if ( object instanceof THREE.PerspectiveCamera ) {
 
 			object.updateProjectionMatrix();