Browse Source

Editor: Use default PerspectiveCamera values.

Mr.doob 6 years ago
parent
commit
a04911ec96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Menubar.Add.js

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

@@ -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 ) );