File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class Line2NodeMaterial extends NodeMaterial {
5656 * @type {boolean }
5757 * @default false
5858 */
59- this . useColor = parameters . vertexColors ;
59+ this . vertexColors = parameters . vertexColors ;
6060
6161 /**
6262 * The dash offset.
@@ -133,7 +133,7 @@ class Line2NodeMaterial extends NodeMaterial {
133133 const { renderer } = builder ;
134134
135135 const useAlphaToCoverage = this . _useAlphaToCoverage ;
136- const useColor = this . useColor ;
136+ const vertexColors = this . vertexColors ;
137137 const useDash = this . _useDash ;
138138 const useWorldUnits = this . _useWorldUnits ;
139139
@@ -434,7 +434,7 @@ class Line2NodeMaterial extends NodeMaterial {
434434
435435 } else {
436436
437- if ( useColor ) {
437+ if ( vertexColors ) {
438438
439439 const instanceColorStart = attribute ( 'instanceColorStart' ) ;
440440 const instanceColorEnd = attribute ( 'instanceColorEnd' ) ;
You can’t perform that action at this time.
0 commit comments