소스 검색

Clean up lineMaterial copy

Garrett Johnson 6 년 전
부모
커밋
612803c6ae
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  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;
 

粤ICP备19079148号