From f0342065b18f4dd9570c57da4b10c7dbe24fbaa7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 27 May 2021 17:02:44 +1000 Subject: Cleanup: spelling --- source/blender/blenkernel/intern/gpencil.c | 2 +- source/blender/blenkernel/intern/lib_override.c | 8 ++++---- source/blender/blenlib/BLI_color.hh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index 409b9fb0a2c..6d1476485ca 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -2688,7 +2688,7 @@ void BKE_gpencil_visible_stroke_iter(ViewLayer *view_layer, * This is used only in final render and never in Viewport. */ if ((view_layer != NULL) && (gpl->viewlayername[0] != '\0') && (!STREQ(view_layer->name, gpl->viewlayername))) { - /* Do not skip masks when rendering the viewlayer so that it can still be used to clip + /* Do not skip masks when rendering the view-layer so that it can still be used to clip * other layers. Instead set their opacity to zero. */ if (gpencil_is_layer_mask(view_layer, gpd, gpl)) { gpl->opacity = 0.0f; diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c index 36730a7baf7..1aa94f82eb3 100644 --- a/source/blender/blenkernel/intern/lib_override.c +++ b/source/blender/blenkernel/intern/lib_override.c @@ -357,9 +357,9 @@ bool BKE_lib_override_library_create_from_tag(Main *bmain, /* If `newid` is already set, assume it has been handled by calling code. * Only current use case: re-using proxy ID when converting to liboverride. */ if (reference_id->newid == NULL) { - /* Note: `no main` case is used during resync procedure, to support recursive resync. This - * requires extra care further odwn the resync process, see - * `BKE_lib_override_library_resync`. */ + /* Note: `no main` case is used during resync procedure, to support recursive resync. + * This requires extra care further down the resync process, + * see: #BKE_lib_override_library_resync. */ reference_id->newid = lib_override_library_create_from( bmain, reference_id, do_no_main ? LIB_ID_CREATE_NO_MAIN : 0); if (reference_id->newid == NULL) { @@ -408,7 +408,7 @@ bool BKE_lib_override_library_create_from_tag(Main *bmain, * loop, but we can get to them through their reference's `newid` pointer. */ if (do_no_main && id->lib == reference_id->lib && id->newid != NULL) { other_id = id->newid; - /* Otherwise we cannot properly dinstinguish between IDs that are actually from the + /* Otherwise we cannot properly distinguish between IDs that are actually from the * linked library (and should not be remapped), and IDs that are overrides re-generated * from the reference from the linked library, and must therefore be remapped. * diff --git a/source/blender/blenlib/BLI_color.hh b/source/blender/blenlib/BLI_color.hh index 287587e04be..3b01bbfb86e 100644 --- a/source/blender/blenlib/BLI_color.hh +++ b/source/blender/blenlib/BLI_color.hh @@ -157,7 +157,7 @@ template class ColorSceneLinear4f; template class ColorSceneLinearByteEncoded4b; template class ColorTheme4; -/* Forward declation of precision conversion methods. */ +/* Forward declaration of precision conversion methods. */ BLI_INLINE ColorTheme4 BLI_color_convert_to_theme4f(const ColorTheme4 &srgb4b); BLI_INLINE ColorTheme4 BLI_color_convert_to_theme4b(const ColorTheme4 &srgb4f); -- cgit v1.2.3