Преглед изворни кода

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();
 
-		if ( object.geometry !== undefined ) {
-
-			selectionBox.update( object );
-
-		}
-
 		if ( object instanceof THREE.PerspectiveCamera ) {
 
 			object.updateProjectionMatrix();