Explorar o código

Editor: Hide selectionBox on init.

Mr.doob %!s(int64=12) %!d(string=hai) anos
pai
achega
c69fd8d9e6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      editor/js/ui/Viewport.js

+ 1 - 0
editor/js/ui/Viewport.js

@@ -20,6 +20,7 @@ var Viewport = function ( signals ) {
 
 	var selectionBox = new THREE.BoxHelper();
 	selectionBox.material.color.setHex( 0xffff00 );
+	selectionBox.visible = false;
 	sceneHelpers.add( selectionBox );
 
 	var selectionAxis = new THREE.AxisHelper( 100 );