浏览代码

Editor: Removed unneeded selectionBox update.

Mr.doob 10 年之前
父节点
当前提交
8e326bdf1e
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      editor/js/Viewport.js

+ 0 - 6
editor/js/Viewport.js

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