瀏覽代碼

Editor: Better default position for HemisphereLight.

Mr.doob 10 年之前
父節點
當前提交
c91fb34dfd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/js/Menubar.Add.js

+ 1 - 1
editor/js/Menubar.Add.js

@@ -354,7 +354,7 @@ Menubar.Add = function ( editor ) {
 		var light = new THREE.HemisphereLight( skyColor, groundColor, intensity );
 		light.name = 'HemisphereLight ' + ( ++ lightCount );
 
-		light.position.set( 0.5, 1, 0.75 ).multiplyScalar( 200 );
+		light.position.set( 0, 100, 0 );
 
 		editor.execute( new AddObjectCommand( light ) );