Browse Source

Camera.copy() recursive support

TSzyszko 8 years ago
parent
commit
ff24134f68
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/cameras/Camera.js

+ 2 - 2
src/cameras/Camera.js

@@ -26,9 +26,9 @@ Camera.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 	isCamera: true,
 
-	copy: function ( source ) {
+	copy: function ( source, recursive ) {
 
-		Object3D.prototype.copy.call( this, source );
+		Object3D.prototype.copy.call( this, source, recursive );
 
 		this.matrixWorldInverse.copy( source.matrixWorldInverse );
 		this.projectionMatrix.copy( source.projectionMatrix );