diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-07 05:52:05 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-07 06:04:44 +0300 |
commit | da3d1e9165f4d0ffcb04645aded3eea489fd6cdd (patch) | |
tree | 5ba77108c3eac7a35aab0acfbc151f1c07006fb6 /source/blender/blenkernel/intern | |
parent | a5d65200c2aad5070824c3cbdc43b4d5cebe2cc3 (diff) |
Cleanup: spelling in comments, correct doxy slashes, replace '/w'
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 6 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/image_partial_update.cc | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 8 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/object.cc | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index b3254794fa7..cbab1a2de6a 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -242,7 +242,7 @@ void BKE_collection_blend_read_data(BlendDataReader *reader, Collection *collect * * NOTE: Using do_version is not a solution here, since this code will be called before any * do_version takes place. Keeping it here also ensures future (or unknown existing) similar - * bugs won't go easily unoticed. */ + * bugs won't go easily unnoticed. */ CLOG_WARN(&LOG, "Fixing root node tree '%s' owned by '%s' missing EMBEDDED tag, please consider " "re-saving your (startup) file", @@ -483,8 +483,8 @@ void BKE_collection_add_from_collection(Main *bmain, is_instantiated = true; } else if (!is_instantiated && collection_find_child(collection, collection_dst)) { - /* If given collection_dst is already instantiated in scene, even if its 'model' src one is - * not, do not add it to master scene collection. */ + /* If given collection_dst is already instantiated in scene, even if its 'model' + * collection_src one is not, do not add it to master scene collection. */ is_instantiated = true; } } diff --git a/source/blender/blenkernel/intern/image_partial_update.cc b/source/blender/blenkernel/intern/image_partial_update.cc index c77ee77a5f2..6ffd323cc1e 100644 --- a/source/blender/blenkernel/intern/image_partial_update.cc +++ b/source/blender/blenkernel/intern/image_partial_update.cc @@ -413,7 +413,7 @@ struct PartialUpdateRegisterImpl { } /** - * /brief Check if data is available to construct the update tiles for the given + * \brief Check if data is available to construct the update tiles for the given * changeset_id. * * The update tiles can be created when changeset id is between diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index f97e8df4387..a685eefcf4f 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -660,7 +660,7 @@ void ntreeBlendReadData(BlendDataReader *reader, ID *owner_id, bNodeTree *ntree) * * NOTE: Using do_version is not a solution here, since this code will be called before any * do_version takes place. Keeping it here also ensures future (or unknown existing) similar - * bugs won't go easily unoticed. */ + * bugs won't go easily unnoticed. */ CLOG_WARN(&LOG, "Fixing root node tree '%s' owned by '%s' missing EMBEDDED tag, please consider " "re-saving your (startup) file", @@ -913,9 +913,9 @@ void ntreeBlendReadLib(struct BlendLibReader *reader, struct bNodeTree *ntree) lib_link_node_sockets(reader, lib, &ntree->inputs); lib_link_node_sockets(reader, lib, &ntree->outputs); - /* Set node->typeinfo pointers. This is done in lib linking, after the + /* Set `node->typeinfo` pointers. This is done in lib linking, after the * first versioning that can change types still without functions that - * update the typeinfo pointers. Versioning after lib linking needs + * update the `typeinfo` pointers. Versioning after lib linking needs * these top be valid. */ ntreeSetTypes(nullptr, ntree); @@ -1072,7 +1072,7 @@ static void node_add_sockets_from_type(bNodeTree *ntree, bNode *node, bNodeType } /* NOTE: This function is called to initialize node data based on the type. - * The bNodeType may not be registered at creation time of the node, + * The #bNodeType may not be registered at creation time of the node, * so this can be delayed until the node type gets registered. */ static void node_init(const struct bContext *C, bNodeTree *ntree, bNode *node) diff --git a/source/blender/blenkernel/intern/object.cc b/source/blender/blenkernel/intern/object.cc index ec21d0b127b..ac33b11fcd2 100644 --- a/source/blender/blenkernel/intern/object.cc +++ b/source/blender/blenkernel/intern/object.cc @@ -2416,7 +2416,7 @@ ParticleSystem *BKE_object_copy_particlesystem(ParticleSystem *psys, const int f } /* XXX(@campbellbarton): from reading existing code this seems correct but intended usage of - * point-cache should /w cloth should be added in 'ParticleSystem'. */ + * point-cache should with cloth should be added in 'ParticleSystem'. */ if (psysn->clmd) { psysn->clmd->point_cache = psysn->pointcache; } diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 8db83031e17..f560b30b297 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -5418,7 +5418,7 @@ void BKE_particle_system_blend_read_lib(BlendLibReader *reader, if (psys->clmd) { /* XXX(@campbellbarton): from reading existing code this seems correct but intended usage - * of pointcache /w cloth should be added in 'ParticleSystem'. */ + * of point-cache with cloth should be added in #ParticleSystem. */ psys->clmd->point_cache = psys->pointcache; psys->clmd->ptcaches.first = psys->clmd->ptcaches.last = NULL; BLO_read_id_address(reader, id->lib, &psys->clmd->coll_parms->group); @@ -5426,7 +5426,7 @@ void BKE_particle_system_blend_read_lib(BlendLibReader *reader, } } else { - /* particle modifier must be removed before particle system */ + /* Particle modifier must be removed before particle system. */ ParticleSystemModifierData *psmd = psys_get_modifier(ob, psys); BKE_modifier_remove_from_list(ob, (ModifierData *)psmd); BKE_modifier_free((ModifierData *)psmd); |