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:
authorCampbell Barton <ideasman42@gmail.com>2021-04-11 06:09:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-11 06:09:27 +0300
commit1198b187b5fe3d54c2efce4f0e162d878d32b8d9 (patch)
treee1751ade62dac3c8a0e3eb8320a5db38d5f93eb5 /source/blender/blenkernel
parent947ba0d27bf58b3efdae9617cb87a3dba0dbc0dd (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/anim_path.c4
-rw-r--r--source/blender/blenkernel/intern/lib_override.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/anim_path.c b/source/blender/blenkernel/intern/anim_path.c
index 78884ed907e..af2b386a30a 100644
--- a/source/blender/blenkernel/intern/anim_path.c
+++ b/source/blender/blenkernel/intern/anim_path.c
@@ -150,7 +150,7 @@ static void get_curve_points_from_idx(const int idx,
/* Last segment (or next to last in a cyclic curve). */
if (idx == bl->nr - 2) {
- /* The case when the bl->nr == 2 falls in to the "first segement" check above.
+ /* The case when the bl->nr == 2 falls in to the "first segment" check above.
* So here we can assume that bl->nr > 2.
*/
*r_p0 = &bp_arr[idx - 1];
@@ -207,7 +207,7 @@ static bool binary_search_anim_path(const float *accum_len_arr,
return true;
}
if (cur_idx == 0) {
- /* We ended up at the first segement. The point must be in here. */
+ /* We ended up at the first segment. The point must be in here. */
*r_idx = 0;
*r_frac = goal_len / accum_len_arr[0];
return true;
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c
index 7412f6a5a0c..40b7681614d 100644
--- a/source/blender/blenkernel/intern/lib_override.c
+++ b/source/blender/blenkernel/intern/lib_override.c
@@ -197,7 +197,7 @@ void BKE_lib_override_library_free(struct IDOverrideLibrary **override, const bo
static ID *lib_override_library_create_from(Main *bmain, ID *reference_id)
{
/* Note: We do not want to copy possible override data from reference here (whether it is an
- * override template, or aleady an override of some other ref data). */
+ * override template, or already an override of some other ref data). */
ID *local_id = BKE_id_copy_ex(
bmain, reference_id, NULL, LIB_ID_COPY_DEFAULT | LIB_ID_COPY_NO_LIB_OVERRIDE);