Browse Source

Merge remote-tracking branch 'kumavis/NoColors' into dev

Mr.doob 11 năm trước cách đây
mục cha
commit
f2313eb722
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/materials/LineBasicMaterial.js
  2. 1 1
      src/materials/PointCloudMaterial.js

+ 1 - 1
src/materials/LineBasicMaterial.js

@@ -30,7 +30,7 @@ THREE.LineBasicMaterial = function ( parameters ) {
 	this.linecap = 'round';
 	this.linejoin = 'round';
 
-	this.vertexColors = false;
+	this.vertexColors = THREE.NoColors;
 
 	this.fog = true;
 

+ 1 - 1
src/materials/PointCloudMaterial.js

@@ -30,7 +30,7 @@ THREE.PointCloudMaterial = function ( parameters ) {
 	this.size = 1;
 	this.sizeAttenuation = true;
 
-	this.vertexColors = false;
+	this.vertexColors = THREE.NoColors;
 
 	this.fog = true;