Pārlūkot izejas kodu

Editor: Removed unneeded selectionBox update.

Mr.doob 10 gadi atpakaļ
vecāks
revīzija
8e326bdf1e
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  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();