Browse Source

Color: Fixed clone.

Mr.doob 10 years ago
parent
commit
e3ca4e2464
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/Color.js

+ 1 - 1
src/math/Color.js

@@ -273,7 +273,7 @@ THREE.Color.prototype = {
 
 	clone: function () {
 
-		return new this.constructor( this.color );
+		return new this.constructor( this.r, this.g, this.b );
 
 	},