|
@@ -36889,7 +36889,6 @@ var BABYLON;
|
|
|
this._blendingFactor = 0;
|
|
|
// The set of event that will be linked to this animation
|
|
|
this._events = new Array();
|
|
|
- this.allowMatricesInterpolation = false;
|
|
|
this.blendingSpeed = 0.01;
|
|
|
this._ranges = {};
|
|
|
this.targetPropertyPath = targetProperty.split(".");
|
|
@@ -37230,7 +37229,7 @@ var BABYLON;
|
|
|
switch (loopMode) {
|
|
|
case Animation.ANIMATIONLOOPMODE_CYCLE:
|
|
|
case Animation.ANIMATIONLOOPMODE_CONSTANT:
|
|
|
- if (this.allowMatricesInterpolation) {
|
|
|
+ if (Animation.AllowMatricesInterpolation) {
|
|
|
return this.matrixInterpolateFunction(startValue, endValue, gradient);
|
|
|
}
|
|
|
case Animation.ANIMATIONLOOPMODE_RELATIVE:
|
|
@@ -37598,6 +37597,7 @@ var BABYLON;
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
+ Animation.AllowMatricesInterpolation = false;
|
|
|
// Statics
|
|
|
Animation._ANIMATIONTYPE_FLOAT = 0;
|
|
|
Animation._ANIMATIONTYPE_VECTOR3 = 1;
|