Cleanup: spelling

Also correct own correction from 58b8724a48
thanks @mont29 for raising this.
This commit is contained in:
Campbell Barton 2020-10-02 20:41:03 +10:00
parent d1f6c2e7bb
commit d858859402
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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