From 0fcbae8c00728dc60964420cffdbd88986a6599d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Oct 2025 23:55:12 +0000 Subject: [PATCH] Cleanup: spelling, duplicate terms (check_spelling_*) Also add colon after argument params. --- source/blender/blenkernel/BKE_light_linking.h | 4 ++-- source/blender/blenkernel/intern/blendfile.cc | 2 +- source/blender/blenloader/intern/versioning_500.cc | 2 +- source/blender/makesrna/intern/rna_constraint.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/blenkernel/BKE_light_linking.h b/source/blender/blenkernel/BKE_light_linking.h index 817b0189414..715a20c3b84 100644 --- a/source/blender/blenkernel/BKE_light_linking.h +++ b/source/blender/blenkernel/BKE_light_linking.h @@ -33,7 +33,7 @@ void BKE_light_linking_ensure(struct Object *object); /** * Copy the LightLinking data from `object_src` to `object_dst`. * - * \param copy_flags Flags controlling the copy process, see e.g. #LIB_ID_CREATE_NO_USER_REFCOUNT + * \param copy_flags: Flags controlling the copy process, see e.g. #LIB_ID_CREATE_NO_USER_REFCOUNT * and related flags in the same enum. */ void BKE_light_linking_copy(struct Object *object_dst, @@ -43,7 +43,7 @@ void BKE_light_linking_copy(struct Object *object_dst, /** * Free the LightLinking data from the object. * - * \param copy_flags Flags controlling the copy process, see e.g. #LIB_ID_CREATE_NO_USER_REFCOUNT + * \param copy_flags: Flags controlling the copy process, see e.g. #LIB_ID_CREATE_NO_USER_REFCOUNT * and related flags in the same enum. */ void BKE_light_linking_delete(struct Object *object, const int delete_flags); diff --git a/source/blender/blenkernel/intern/blendfile.cc b/source/blender/blenkernel/intern/blendfile.cc index f4d5497d16d..f1a01a790e5 100644 --- a/source/blender/blenkernel/intern/blendfile.cc +++ b/source/blender/blenkernel/intern/blendfile.cc @@ -1974,7 +1974,7 @@ ID *PartialWriteContext::id_add( /* The given ID may have already been added (either explicitly or as a dependency) before. */ /* NOTE: This should not be needed currently (as this is only used as temporary partial copy of - * the current main Main data-base, so ID's runtime session_uid should be enough), but in the + * the current main data-base, so ID's runtime `session_uid` should be enough), but in the * future it might also be good to lookup by ID deep hash for packed data? */ ID *ctx_root_id = BKE_main_idmap_lookup_uid(matching_uid_map_, id->session_uid); if (ctx_root_id) { diff --git a/source/blender/blenloader/intern/versioning_500.cc b/source/blender/blenloader/intern/versioning_500.cc index d224209511f..4f49f99a4a4 100644 --- a/source/blender/blenloader/intern/versioning_500.cc +++ b/source/blender/blenloader/intern/versioning_500.cc @@ -2507,7 +2507,7 @@ static void do_version_lift_gamma_gain_srgb_to_linear(bNodeTree &node_tree, bNod bNodeSocket *type_input = blender::bke::node_find_socket(node, SOCK_IN, "Type"); bNodeSocket *image_output = blender::bke::node_find_socket(node, SOCK_OUT, "Image"); - /* Find the links going into and out of of the node. */ + /* Find the links going into and out of the node. */ bNodeLink *image_input_link = nullptr; bNodeLink *type_input_link = nullptr; LISTBASE_FOREACH (bNodeLink *, link, &node_tree.links) { diff --git a/source/blender/makesrna/intern/rna_constraint.cc b/source/blender/makesrna/intern/rna_constraint.cc index 2c13dc275be..4fb3e0c40ce 100644 --- a/source/blender/makesrna/intern/rna_constraint.cc +++ b/source/blender/makesrna/intern/rna_constraint.cc @@ -3653,7 +3653,7 @@ static void rna_def_constraint_geometry_attribute(BlenderRNA *brna) "REPLACE", 0, "Replace", - "Replace the original transformation with the trasnform from the attribute"}, + "Replace the original transformation with the transform from the attribute"}, RNA_ENUM_ITEM_SEPR, {CON_ATTRIBUTE_MIX_BEFORE_FULL, "BEFORE_FULL",