@@ -140,6 +140,7 @@ var BABYLON = BABYLON || {};
if (ratio > range && !loop) { // If we are out of range and not looping get back to caller
offsetValue = 0;
returnValue = false;
+ highLimitValue = this._keys[this._keys.length - 1].value;
} else {
// Get max value if required
var offsetValue = 0;
@@ -34,4 +34,4 @@ var BABYLON = BABYLON || {};
return new BABYLON.Vector3(normal0.x + normal1.x + normal2.x, normal0.y + normal1.y + normal2.y, normal0.z + normal1.z + normal2.z);
};
-})();
+})();