Pārlūkot izejas kodu

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

Mr.doob 11 gadi atpakaļ
vecāks
revīzija
f2313eb722

+ 1 - 1
src/materials/LineBasicMaterial.js

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

+ 1 - 1
src/materials/PointCloudMaterial.js

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