浏览代码

Readd `linewidth` to `copy` in LineBasicMaterial

Daniel Hritzkiv 10 年之前
父节点
当前提交
a1d14942f0
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;