提交 a04911ec 编写于 作者: M Mr.doob

Editor: Use default PerspectiveCamera values.

上级 ced66da2
......@@ -380,7 +380,7 @@ Menubar.Add = function ( editor ) {
option.setTextContent( strings.getKey( 'menubar/add/perspectivecamera' ) );
option.onClick( function () {
var camera = new THREE.PerspectiveCamera( 50, 1, 1, 10000 );
var camera = new THREE.PerspectiveCamera();
camera.name = 'PerspectiveCamera';
editor.execute( new AddObjectCommand( camera ) );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册