Explorar o código

Clean up lineMaterial copy

Garrett Johnson %!s(int64=5) %!d(string=hai) anos
pai
achega
612803c6ae
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  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.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;
 	return this;