zincjs 2.2.1 → 2.3.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,7 @@ class Line extends Object3D {
134
134
 
135
135
  const a = index.getX( i );
136
136
  const b = index.getX( i + 1 );
137
-
137
+
138
138
  calculatePosition( vStart, vEnd, this, positionAttribute, morphPosition, a, b );
139
139
 
140
140
  const distSq = _ray.distanceSqToSegment( vStart, vEnd, interRay, interSegment );
@@ -260,7 +260,7 @@ function calculatePosition( vStart, vEnd, object, position, morphPosition, a, b
260
260
 
261
261
  var morphInfluences = object.morphTargetInfluences;
262
262
 
263
- if ( object.material.morphTargets && morphPosition && morphInfluences ) {
263
+ if ( morphPosition && morphInfluences ) {
264
264
 
265
265
  _morphA.set( 0, 0, 0 );
266
266
  _morphB.set( 0, 0, 0 );