diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 03:29:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:38:07 +0300 |
commit | c61c7d99264842909bd2aed002ba4eae4fb41621 (patch) | |
tree | ff02d7836a351a2d7abb6ad8b9071cd3c068baa7 /source/blender/editors | |
parent | 613c568df28e6c460c62ee90a20e48036a686b95 (diff) |
Cleanup: spelling (use 'gimbal' instead of 'gimble')
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 4 | ||||
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 6 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 10 |
4 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 2c64388e66d..80771df3572 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -1776,7 +1776,7 @@ void FONT_OT_text_insert(wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Textbox Add Operator +/** \name Text-Box Add Operator * \{ */ static int textbox_add_exec(bContext *C, wmOperator *UNUSED(op)) @@ -1817,7 +1817,7 @@ void FONT_OT_textbox_add(wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Textbox Remove Operator +/** \name Text-Box Remove Operator * \{ */ static int textbox_remove_exec(bContext *C, wmOperator *op) diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index afe0159eb26..6cf8515bdbb 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -1148,7 +1148,7 @@ static ImBuf *icon_preview_imbuf_from_brush(Brush *brush) BKE_main_blendfile_path_from_global(), path, folder, brush->icon_filepath); if (path[0]) { - /* use fefault color spaces */ + /* Use default color spaces. */ brush->icon_imbuf = IMB_loadiffname(path, flags, NULL); } } diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index f8905d772b2..acfeccca175 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -655,9 +655,9 @@ static void outliner_add_library_override_contents(SpaceOutliner *soops, TreeEle int index = 0; LISTBASE_FOREACH (IDOverrideLibraryProperty *, op, &id->override_library->properties) { if (!BKE_lib_override_rna_property_find(&idpoin, op, &override_ptr, &override_prop)) { - /* This is fine, override properties list is not alwasy fully up-to-date with current - * RNA/IDProps etc., this gets cleaned up when re-generating the overrides rules, no error - * here. */ + /* This is fine, override properties list is not always fully up-to-date with current + * RNA/IDProps etc., this gets cleaned up when re-generating the overrides rules, + * no error here. */ continue; } diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 4e9ddb54c5e..56f0c0afccf 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -827,14 +827,14 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2]) quat_to_mat3(m, vod->curr.viewquat); invert_m3_m3(m_inv, m); - /* Avoid Gimble Lock + /* Avoid Gimbal Lock * * Even though turn-table mode is in use, this can occur when the user exits the camera view * or when aligning the view to a rotated object. * - * We have gimble lock when the user's view is rotated +/- 90 degrees along the view axis. + * We have gimbal lock when the user's view is rotated +/- 90 degrees along the view axis. * In this case the vertical rotation is the same as the sideways turntable motion. - * Making it impossible to get out of the gimble locked state without resetting the view. + * Making it impossible to get out of the gimbal locked state without resetting the view. * * The logic below lets the user exit out of this state without any abrupt 'fix' * which would be disorienting. @@ -843,7 +843,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2]) * - Rotated-horizon: `cross_v3_v3v3(xaxis, zvec_global, m_inv[2])` * When only this is used, this turntable rotation works - but it's side-ways * (as if the entire turn-table has been placed on its side) - * While there is no gimble lock, it's also awkward to use. + * While there is no gimbal lock, it's also awkward to use. * - Un-rotated-horizon: `m_inv[0]` * When only this is used, the turntable rotation can have gimbal lock. * @@ -852,7 +852,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2]) * Blending isn't essential, it just makes the transition smoother. * * This allows sideways turn-table rotation on a Z axis that isn't world-space Z, - * While up-down turntable rotation eventually corrects gimble lock. */ + * While up-down turntable rotation eventually corrects gimbal lock. */ #if 1 if (len_squared_v3v3(zvec_global, m_inv[2]) > 0.001f) { float fac; |