Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-03-19 22:33:23 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-03-19 23:55:17 +0300
commita1322d7c9546dc78204c0ba9980c1e3094149e7a (patch)
tree3444928d197ebb9aacca58124e67d2efc637abb5 /source/blender/io
parent83f171b6269fa5f1491c8517882984801e6b49cc (diff)
Cleanup: fix typos in comments
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/collada/BCAnimationCurve.cpp4
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;