diff --git a/intern/cycles/blender/util.h b/intern/cycles/blender/util.h index c357f1eeb08..3e950f795bc 100644 --- a/intern/cycles/blender/util.h +++ b/intern/cycles/blender/util.h @@ -593,9 +593,8 @@ static inline bool object_use_deform_motion(BL::Object &b_parent, BL::Object &b_ /* If motion blur is enabled for the object we also check * whether it's enabled for the parent object as well. * - * This way we can control motion blur from the dupligroup - * duplicator much easier. - */ + * This way we can control motion blur from the dupli-group + * duplicator much easier. */ if (use_deform_motion && b_parent.ptr.data != b_ob.ptr.data) { PointerRNA parent_cobject = RNA_pointer_get(&b_parent.ptr, "cycles"); use_deform_motion &= get_boolean(parent_cobject, "use_deform_motion"); diff --git a/source/blender/blenkernel/BKE_grease_pencil.hh b/source/blender/blenkernel/BKE_grease_pencil.hh index a5f4fde01d0..549e1276465 100644 --- a/source/blender/blenkernel/BKE_grease_pencil.hh +++ b/source/blender/blenkernel/BKE_grease_pencil.hh @@ -413,7 +413,7 @@ class Layer : public ::GreasePencilLayer { bool has_drawing_at(const int frame_number) const; /** - * \returns the key of the active frame at \a frame_number or std::nullopt if there is no frame. + * \returns the key of the active frame at \a frame_number or #std::nullopt if there is no frame. */ std::optional frame_key_at(int frame_number) const; @@ -438,12 +438,12 @@ class Layer : public ::GreasePencilLayer { void tag_frames_map_keys_changed(); /** - * Prepare the DNA #GreasePencilLayer data before blendfile writing. + * Prepare the DNA #GreasePencilLayer data before blend-file writing. */ void prepare_for_dna_write(); /** - * Update from DNA #GreasePencilLayer data after blendfile reading. + * Update from DNA #GreasePencilLayer data after blend-file reading. */ void update_from_dna_read(); @@ -543,12 +543,12 @@ class LayerGroup : public ::GreasePencilLayerTreeGroup { void print_nodes(StringRefNull header) const; /** - * Prepare the DNA #GreasePencilLayerTreeGroup data before blendfile writing. + * Prepare the DNA #GreasePencilLayerTreeGroup data before blend-file writing. */ void prepare_for_dna_write(); /** - * Update from DNA #GreasePencilLayerTreeGroup data after blendfile reading. + * Update from DNA #GreasePencilLayerTreeGroup data after blend-file reading. */ void update_from_dna_read(); diff --git a/source/blender/blenkernel/BKE_layer.hh b/source/blender/blenkernel/BKE_layer.hh index 6a88e572f86..fb4eab42c38 100644 --- a/source/blender/blenkernel/BKE_layer.hh +++ b/source/blender/blenkernel/BKE_layer.hh @@ -73,7 +73,7 @@ void BKE_view_layer_free_ex(ViewLayer *view_layer, bool do_id_user); /** * Free the bases of this #ViewLayer, and what they reference. - * This includes baseact, object_bases, object_bases_hash, and layer_collections. + * This includes `baseact`, `object_bases`, `object_bases_hash`, and `layer_collections`. */ void BKE_view_layer_free_object_content(ViewLayer *view_layer); diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 0f1d2acb1cf..3d3f9dea74b 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -57,7 +57,7 @@ typedef struct BlendFileData { int fileflags; int globalf; - /** Typically the actual filepath of the read blendfile, except when recovering + /** Typically the actual filepath of the read blend-file, except when recovering * save-on-exit/autosave files. In the latter case, it will be the path of the file that * generated the auto-saved one being recovered. * diff --git a/source/blender/blenloader/intern/readfile.hh b/source/blender/blenloader/intern/readfile.hh index fe8a5b80291..6bc5566d6c6 100644 --- a/source/blender/blenloader/intern/readfile.hh +++ b/source/blender/blenloader/intern/readfile.hh @@ -67,7 +67,7 @@ struct FileData { /** Used for relative paths handling. * - * Typically the actual filepath of the read blendfile, except when recovering + * Typically the actual filepath of the read blend-file, except when recovering * save-on-exit/autosave files. In the latter case, it will be the path of the file that * generated the auto-saved one being recovered. * diff --git a/source/blender/draw/engines/eevee_next/eevee_reflection_probes.hh b/source/blender/draw/engines/eevee_next/eevee_reflection_probes.hh index 2c0fe0cc852..164d75accc9 100644 --- a/source/blender/draw/engines/eevee_next/eevee_reflection_probes.hh +++ b/source/blender/draw/engines/eevee_next/eevee_reflection_probes.hh @@ -244,9 +244,9 @@ class ReflectionProbeModule { } /** - * Get the resolution of a single cubemap side when rendering probes. + * Get the resolution of a single cube-map side when rendering probes. * - * The cubemaps are rendered half size of the size of the octahedral texture. + * The cube-maps are rendered half size of the size of the octahedral texture. */ int probe_render_extent() const; diff --git a/source/blender/draw/intern/draw_common_shader_shared.h b/source/blender/draw/intern/draw_common_shader_shared.h index 2ca0b1faaa1..e2c31712ac9 100644 --- a/source/blender/draw/intern/draw_common_shader_shared.h +++ b/source/blender/draw/intern/draw_common_shader_shared.h @@ -19,7 +19,7 @@ typedef struct GlobalsUboStorage GlobalsUboStorage; #define UBO_FIRST_COLOR color_wire #define UBO_LAST_COLOR color_uv_shadow -/* Used as ubo but colors can be directly referenced as well */ +/* Used as UBO but colors can be directly referenced as well */ /* \note Also keep all color as vec4 and between #UBO_FIRST_COLOR and #UBO_LAST_COLOR. */ struct GlobalsUboStorage { /* UBOs data needs to be 16 byte aligned (size of vec4) */ diff --git a/source/blender/editors/io/io_utils.hh b/source/blender/editors/io/io_utils.hh index 11515563990..911a4c9d07a 100644 --- a/source/blender/editors/io/io_utils.hh +++ b/source/blender/editors/io/io_utils.hh @@ -17,8 +17,8 @@ struct FileHanlderType; namespace blender::ed::io { /** - * Shows a import dialog if the operator was invoked with filepath properties set, otherwise - * invokes the fileselect window. + * Shows a import dialog if the operator was invoked with filepath properties set, + * otherwise invokes the file-select window. */ int filesel_drop_import_invoke(bContext *C, wmOperator *op, const wmEvent *event); diff --git a/source/blender/editors/transform/transform_generics.cc b/source/blender/editors/transform/transform_generics.cc index 4c1d8d263de..87418eb67e1 100644 --- a/source/blender/editors/transform/transform_generics.cc +++ b/source/blender/editors/transform/transform_generics.cc @@ -321,7 +321,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve else if (t->spacetype == SPACE_SEQ && region->regiontype == RGN_TYPE_PREVIEW) { t->options |= CTX_SEQUENCER_IMAGE; - /* Needed for autokeying transforms in preview during playback. */ + /* Needed for auto-keying transforms in preview during playback. */ bScreen *animscreen = ED_screen_animation_playing(CTX_wm_manager(C)); t->animtimer = (animscreen) ? animscreen->animtimer : nullptr; } diff --git a/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h b/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h index 57004039f3d..9f30b61db8c 100644 --- a/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h +++ b/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h @@ -88,9 +88,9 @@ class IndexedFaceSet : public Rep { * iTIndices * The Texture coordinates indices (per vertex). The integers contained in this array must * be multiple of 2. iTISize The size of iMIndices iCopy 0 : the arrays are not copied. The - * pointers passed as arguments are used. IndexedFaceSet takes these arrays desallocation in + * pointers passed as arguments are used. IndexedFaceSet takes these arrays deallocation in * charge. 1 : the arrays are copied. The caller is in charge of the arrays, passed as arguments - * desallocation. + * deallocation. */ IndexedFaceSet(float *iVertices, uint iVSize, diff --git a/source/blender/makesrna/intern/rna_node_socket.cc b/source/blender/makesrna/intern/rna_node_socket.cc index 15194b28e96..91618bf091e 100644 --- a/source/blender/makesrna/intern/rna_node_socket.cc +++ b/source/blender/makesrna/intern/rna_node_socket.cc @@ -425,7 +425,7 @@ const EnumPropertyItem *RNA_node_enum_definition_itemf( for (const blender::bke::RuntimeNodeEnumItem &item : enum_items.items) { tmp.value = item.identifier; - /* Item name is unique and used as the RNA identitifier as well. + /* Item name is unique and used as the RNA identifier as well. * The integer value is persistent and unique and should be used * when storing the enum value. */ tmp.identifier = item.name.c_str(); diff --git a/source/blender/nodes/geometry/nodes/node_geo_menu_switch.cc b/source/blender/nodes/geometry/nodes/node_geo_menu_switch.cc index 67ebb8b1f8b..3da073db92f 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_menu_switch.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_menu_switch.cc @@ -166,8 +166,8 @@ static void node_gather_link_searches(GatherLinkSearchOpParams ¶ms) } /** - * Multifunction which evaluates the switch input for each enum item and partially fills the output - * array with values from the input array where the identifier matches. + * Multi-function which evaluates the switch input for each enum item and partially fills the + * output array with values from the input array where the identifier matches. */ class MenuSwitchFn : public mf::MultiFunction { const NodeEnumDefinition &enum_def_; diff --git a/source/blender/render/intern/texture_image.cc b/source/blender/render/intern/texture_image.cc index 76d3488fcee..1d8b16c1cf6 100644 --- a/source/blender/render/intern/texture_image.cc +++ b/source/blender/render/intern/texture_image.cc @@ -1327,14 +1327,14 @@ static int imagewraposa_aniso(Tex *tex, texres->trgba[3] = 1.0f - texres->trgba[3]; } - /* de-premul, this is being pre-multiplied in shade_input_do_shade() + /* de-pre-multiply, this is being pre-multiplied in shade_input_do_shade() * TXF: this currently does not (yet?) work properly, destroys edge AA in clip/checker mode, - * so for now commented out also disabled in imagewraposa() + * so for now commented out also disabled in #imagewraposa() * to be able to compare results with blender's default texture filtering */ /* brecht: tried to fix this, see "TXF alpha" comments */ - /* do not de-premul for generated alpha, it is already in straight */ + /* do not de-pre-multiply for generated alpha, it is already in straight */ if (texres->trgba[3] != 1.0f && texres->trgba[3] > 1e-4f && !(tex->imaflag & TEX_CALCALPHA)) { fx = 1.0f / texres->trgba[3]; texres->trgba[0] *= fx; @@ -1720,8 +1720,8 @@ int imagewraposa(Tex *tex, texres->trgba[3] = 1.0f - texres->trgba[3]; } - /* de-premul, this is being pre-multiplied in shade_input_do_shade() */ - /* do not de-premul for generated alpha, it is already in straight */ + /* de-pre-multiply, this is being pre-multiplied in shade_input_do_shade() */ + /* do not de-pre-multiply for generated alpha, it is already in straight */ if (texres->trgba[3] != 1.0f && texres->trgba[3] > 1e-4f && !(tex->imaflag & TEX_CALCALPHA)) { mul_v3_fl(texres->trgba, 1.0f / texres->trgba[3]); } diff --git a/tools/check_source/check_spelling_config.py b/tools/check_source/check_spelling_config.py index 241c0a2d3c9..2640331b560 100644 --- a/tools/check_source/check_spelling_config.py +++ b/tools/check_source/check_spelling_config.py @@ -89,6 +89,7 @@ dict_custom = { "deallocate", "deallocated", "deallocating", + "deallocation", "decompressor", "decorrelated", "decrement",