From fc669a4c3ec0c3ccce7eecc4408636271f3a1fd4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 27 Jan 2021 15:23:46 +1100 Subject: Cleanup: spelling --- source/blender/editors/mask/mask_edit.c | 2 +- source/blender/editors/mask/mask_ops.c | 2 +- source/blender/editors/space_clip/clip_utils.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/mask/mask_edit.c b/source/blender/editors/mask/mask_edit.c index e6c6424e5f0..f1041d062a8 100644 --- a/source/blender/editors/mask/mask_edit.c +++ b/source/blender/editors/mask/mask_edit.c @@ -207,7 +207,7 @@ void ED_mask_view_lock_state_restore_no_jump(const bContext *C, const MaskViewLo return; } - /* Mask's lock-to-selection requres deformed splines to be evaluated to calculate bounds of + /* Mask's lock-to-selection requires deformed splines to be evaluated to calculate bounds of * points after animation has been evaluated. The restore-no-jump type of function does * calculation of new offset for the view for an updated state of mask to cancel the offset out * by modifying locked offset. In order to do such calculation mask needs to be evaluated after diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 00a1dfb7d87..98509e82f48 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -228,7 +228,7 @@ typedef struct SlidePointData { float prev_mouse_coord[2]; /* Previous clip coordinate which was resolved from mouse position (0, 0). - * Is used to compansate for view offste moving in-between of mouse events when + * Is used to compensate for view offset moving in-between of mouse events when * lock-to-selection is enabled. */ float prev_zero_coord[2]; diff --git a/source/blender/editors/space_clip/clip_utils.c b/source/blender/editors/space_clip/clip_utils.c index faa3f18e8c1..939245288fa 100644 --- a/source/blender/editors/space_clip/clip_utils.c +++ b/source/blender/editors/space_clip/clip_utils.c @@ -499,12 +499,12 @@ bool clip_view_calculate_view_selection( return false; } - /* NOTE: The `fit` argment is set to truth when doing "View to Selected" operator, and it set to + /* NOTE: The `fit` argument is set to truth when doing "View to Selected" operator, and it set to * false when this function is used for Lock-to-Selection functionality. When locking to - * selection the handles are to be ignored. So we can deriver the `include_handles` from `fit`. + * selection the handles are to be ignored. So we can derive the `include_handles` from `fit`. * - * TODO(sergey): Make such decision more explicit. Maybe pass usecase for the calculation to tell - * operator from lock-to-selection apart. */ + * TODO(sergey): Make such decision more explicit. Maybe pass use-case for the calculation to + * tell operator from lock-to-selection apart. */ float min[2], max[2]; if (!selected_boundbox(C, min, max, fit)) { return false; -- cgit v1.2.3