From a1322d7c9546dc78204c0ba9980c1e3094149e7a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 19 Mar 2020 20:33:23 +0100 Subject: Cleanup: fix typos in comments Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133 --- source/blender/io/collada/BCAnimationCurve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/io/collada/BCAnimationCurve.cpp') 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; -- cgit v1.2.3