From d858859402798898251bc3939ab0b6cf8c70dcd7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 2 Oct 2020 20:41:03 +1000 Subject: Cleanup: spelling Also correct own correction from 58b8724a4892 thanks @mont29 for raising this. --- source/blender/blenloader/intern/readfile.c | 2 +- source/blender/draw/engines/overlay/overlay_sculpt.c | 4 ++-- source/blender/makesrna/intern/rna_access_compare_override.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 6072704100c..7321d680537 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5487,7 +5487,7 @@ static void direct_link_windowmanager(BlendDataReader *reader, wmWindowManager * if (win->workspace_hook != NULL) { /* We need to restore a pointer to this later when reading workspaces, * so store in global oldnew-map. - * Note that this is only needed for versionning of older .blend files now.. */ + * Note that this is only needed for versioning of older .blend files now.. */ oldnewmap_insert(reader->fd->globmap, hook, win->workspace_hook, 0); /* Cleanup pointers to data outside of this data-block scope. */ win->workspace_hook->act_layout = NULL; diff --git a/source/blender/draw/engines/overlay/overlay_sculpt.c b/source/blender/draw/engines/overlay/overlay_sculpt.c index a3860c9e25e..24c52ec427d 100644 --- a/source/blender/draw/engines/overlay/overlay_sculpt.c +++ b/source/blender/draw/engines/overlay/overlay_sculpt.c @@ -61,8 +61,8 @@ void OVERLAY_sculpt_cache_populate(OVERLAY_Data *vedata, Object *ob) } if (!pbvh_has_mask(pbvh) && !pbvh_has_face_sets(pbvh)) { - /* The SculptSession and the PBVH can be created without a Mask datalayer or Face Set - * datalayer. (masks datalayers are created after using a mask tool), so in these cases there + /* The SculptSession and the PBVH can be created without a Mask data-layer or Face Set + * data-layer. (masks data-layers are created after using a mask tool), so in these cases there * is nothing to draw. */ return; } diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c index a630d227f17..098854513a4 100644 --- a/source/blender/makesrna/intern/rna_access_compare_override.c +++ b/source/blender/makesrna/intern/rna_access_compare_override.c @@ -916,7 +916,7 @@ static void rna_property_override_apply_ex(Main *bmain, /* This is rather fragile, but the fact that local override IDs may have a different name * than their linked reference makes it necessary. * Basically, here we are considering that if we cannot find the original linked ID in - * the local override we are (re-)applying the operations, then it may be because of + * the local override we are (re-)applying the operations, then it may be because some of * those operations have already been applied, and we may already have the local ID * pointer we want to set. * This happens e.g. during re-sync of an override, since we have already remapped all ID -- cgit v1.2.3