Browse Source

LineDashedMaterial: Fixed .vertexColors.

tschw 9 years ago
parent
commit
54ffc1a187
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/materials/LineDashedMaterial.js

+ 2 - 2
src/materials/LineDashedMaterial.js

@@ -15,7 +15,7 @@
  *  dashSize: <float>,
  *  gapSize: <float>,
  *
- *  vertexColors: <bool>
+ *  vertexColors: THREE.NoColors / THREE.FaceColors / THREE.VertexColors
  *
  *  fog: <bool>
  * }
@@ -35,7 +35,7 @@ THREE.LineDashedMaterial = function ( parameters ) {
 	this.dashSize = 3;
 	this.gapSize = 1;
 
-	this.vertexColors = false;
+	this.vertexColors = THREE.NoColors;
 
 	this.fog = true;