diff options
Diffstat (limited to 'source/blender/io/collada/BCAnimationCurve.cpp')
-rw-r--r-- | source/blender/io/collada/BCAnimationCurve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/io/collada/BCAnimationCurve.cpp b/source/blender/io/collada/BCAnimationCurve.cpp index 36800d611d2..98eb12f738e 100644 --- a/source/blender/io/collada/BCAnimationCurve.cpp +++ b/source/blender/io/collada/BCAnimationCurve.cpp @@ -230,7 +230,7 @@ const int BCAnimationCurve::closest_index_above(const float sample_frame, const return -1; } - const int cframe = fcurve->bezt[start_at].vec[1][0]; // inacurate! + const int cframe = fcurve->bezt[start_at].vec[1][0]; // inaccurate! if (fabs(cframe - sample_frame) < 0.00001) { return start_at; @@ -252,7 +252,7 @@ const int BCAnimationCurve::closest_index_below(const float sample_frame) const for (int fcu_index = 0; fcu_index < fcurve->totvert; fcu_index++) { upper_index = fcu_index; - const int cframe = fcurve->bezt[fcu_index].vec[1][0]; // inacurate! + const int cframe = fcurve->bezt[fcu_index].vec[1][0]; // inaccurate! if (cframe <= sample_frame) { lower_frame = cframe; lower_index = fcu_index; |