diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-27 10:02:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-27 10:59:21 +0300 |
commit | f0342065b18f4dd9570c57da4b10c7dbe24fbaa7 (patch) | |
tree | d882d79afb5f084b15328ce6a19d5db465daf618 | |
parent | 2ad3a1c3189ae7f5b50777d4fa2040aae857495c (diff) |
Cleanup: spelling
-rw-r--r-- | source/blender/blenkernel/intern/gpencil.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/lib_override.c | 8 | ||||
-rw-r--r-- | 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<eAlpha Alpha> class ColorSceneLinear4f; template<eAlpha Alpha> class ColorSceneLinearByteEncoded4b; template<typename ChannelStorageType> class ColorTheme4; -/* Forward declation of precision conversion methods. */ +/* Forward declaration of precision conversion methods. */ BLI_INLINE ColorTheme4<float> BLI_color_convert_to_theme4f(const ColorTheme4<uint8_t> &srgb4b); BLI_INLINE ColorTheme4<uint8_t> BLI_color_convert_to_theme4b(const ColorTheme4<float> &srgb4f); |