Browse Source

Editor: Removed unneeded selectionBox update.

Mr.doob 10 năm trước cách đây
mục cha
commit
8e326bdf1e
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  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();