Explorar o código

Editor: Use default PerspectiveCamera values.

Mr.doob %!s(int64=6) %!d(string=hai) anos
pai
achega
a04911ec96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) );