Преглед изворни кода

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

Mr.doob пре 11 година
родитељ
комит
f2313eb722
2 измењених фајлова са 2 додато и 2 уклоњено
  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;