Selaa lähdekoodia

Editor: Hide selectionBox on init.

Mr.doob 12 vuotta sitten
vanhempi
commit
c69fd8d9e6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 );