|
|
@@ -100,7 +100,7 @@ class Line2NodeMaterial extends NodeMaterial {
|
|
|
if ( useDash ) {
|
|
|
|
|
|
const dashScaleNode = this.dashScaleNode ? float( this.dashScaleNode ) : materialLineScale;
|
|
|
- const offsetNode = this.offsetNode ? float( this.offsetNodeNode ) : materialLineDashOffset;
|
|
|
+ const offsetNode = this.offsetNode ? float( this.offsetNode ) : materialLineDashOffset;
|
|
|
|
|
|
const instanceDistanceStart = attribute( 'instanceDistanceStart' );
|
|
|
const instanceDistanceEnd = attribute( 'instanceDistanceEnd' );
|
|
|
@@ -277,7 +277,7 @@ class Line2NodeMaterial extends NodeMaterial {
|
|
|
if ( useDash ) {
|
|
|
|
|
|
const dashSizeNode = this.dashSizeNode ? float( this.dashSizeNode ) : materialLineDashSize;
|
|
|
- const gapSizeNode = this.dashSizeNode ? float( this.dashGapNode ) : materialLineGapSize;
|
|
|
+ const gapSizeNode = this.gapSizeNode ? float( this.gapSizeNode ) : materialLineGapSize;
|
|
|
|
|
|
dashSize.assign( dashSizeNode );
|
|
|
gapSize.assign( gapSizeNode );
|