Browse Source

Update PerspectiveCamera.js

prafullit 10 years ago
parent
commit
91e3888ae1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/cameras/PerspectiveCamera.js

+ 1 - 2
src/cameras/PerspectiveCamera.js

@@ -135,8 +135,6 @@ THREE.PerspectiveCamera.prototype.clone = function () {
 	camera.near = this.near;
 	camera.near = this.near;
 	camera.far = this.far;
 	camera.far = this.far;
 
 
-	camera.projectionMatrix.copy( this.projectionMatrix );
-
 	return camera;
 	return camera;
 
 
 };
 };
@@ -145,6 +143,7 @@ THREE.PerspectiveCamera.prototype.toJSON = function ( meta ) {
 
 
 	var data = THREE.Object3D.prototype.toJSON.call( this, meta );
 	var data = THREE.Object3D.prototype.toJSON.call( this, meta );
 
 
+	data.object.zoom = this.zoom;
 	data.object.fov = this.fov;
 	data.object.fov = this.fov;
 	data.object.aspect = this.aspect;
 	data.object.aspect = this.aspect;
 	data.object.near = this.near;
 	data.object.near = this.near;