Browse Source

Clean up lineMaterial copy

Garrett Johnson 5 năm trước cách đây
mục cha
commit
612803c6ae
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      examples/js/lines/LineMaterial.js

+ 6 - 2
examples/js/lines/LineMaterial.js

@@ -381,9 +381,13 @@ THREE.LineMaterial.prototype.copy = function ( source ) {
 
 	this.linewidth = source.linewidth;
 
-	this.resolution = source.resolution;
+	this.dashScale = source.dashScale;
+
+	this.dashSize = source.dashSize;
 
-	// todo
+	this.gapSize = source.gapSize;
+
+	this.resolution = source.resolution;
 
 	return this;