Recovered a fix lost when branching.

This commit is contained in:
MatthieuRivaud 2016-08-08 15:56:53 +02:00
parent d06fbc772f
commit 4aabc0cb82

View File

@ -375,7 +375,7 @@ module.exports = function(Chart) {
for (i = 0; i < pointsLen - 1; ++i) {
pointCurrent = pointsWithTangents[i];
pointAfter = pointsWithTangents[i + 1];
if (pointCurrent.skip || pointAfter.skip) continue;
if (pointCurrent.model.skip || pointAfter.model.skip) continue;
if (helpers.almostEquals(pointCurrent.deltaK, 0, this.EPSILON))
{
pointCurrent.mK = pointAfter.mK = 0;