|
@@ -299,8 +299,12 @@ THREE.MorphBlendMesh.prototype.update = function ( delta ) {
|
|
|
|
|
|
if ( animation.directionBackwards ) mix = 1 - mix;
|
|
|
|
|
|
- this.morphTargetInfluences[ animation.currentFrame ] = mix * weight;
|
|
|
- this.morphTargetInfluences[ animation.lastFrame ] = ( 1 - mix ) * weight;
|
|
|
+ if (animation.currentFrame !== animation.lastFrame) {
|
|
|
+ this.morphTargetInfluences[animation.currentFrame] = mix * weight;
|
|
|
+ this.morphTargetInfluences[animation.lastFrame] = ( 1 - mix ) * weight;
|
|
|
+ } else {
|
|
|
+ this.morphTargetInfluences[animation.currentFrame] = weight;
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|