Browse Source

Readd `linewidth` to `copy` in LineBasicMaterial

Daniel Hritzkiv 10 years ago
parent
commit
a1d14942f0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/materials/LineDashedMaterial.js

+ 2 - 0
src/materials/LineDashedMaterial.js

@@ -51,6 +51,8 @@ THREE.LineBasicMaterial.prototype.copy = function ( source ) {
 	THREE.Material.prototype.copy.call( this, source );
 
 	this.color.copy( source.color );
+	
+	this.linewidth = source.linewidth;
 
 	this.scale = source.scale;
 	this.dashSize = source.dashSize;