Cleanup: spelling (make check_spelling_*)

This commit is contained in:
Campbell Barton
2025-10-07 08:54:24 +11:00
parent 5cd29bc110
commit 01806a62e3
9 changed files with 15 additions and 13 deletions

View File

@@ -264,7 +264,7 @@ static void adjust_fcurve_key_frame_values(FCurve *fcurve,
BKE_fcurve_handles_recalc(fcurve);
}
/* Gets the compositing node tree of the given scene. The deprecated nodetree member is returned
/* Gets the compositing node tree of the given scene. The deprecated node-tree member is returned
* for older versions before reusable node trees were introduced in bd61e69be5, while the new
* compositing_node_group is returned otherwise. */
bNodeTree *version_get_scene_compositor_node_tree(Main *bmain, Scene *scene);

View File

@@ -687,7 +687,7 @@ static bool mywrite_end(WriteData *wd)
static uint64_t get_stable_pointer_hint_for_id(const ID &id)
{
/* Make the stable pointer dependend on the data-block name. This is somewhat arbitrary but the
/* Make the stable pointer dependent on the data-block name. This is somewhat arbitrary but the
* name is at least something that doesn't really change automatically unexpectedly. */
const uint64_t name_hash = XXH3_64bits(id.name, strlen(id.name));
if (id.lib) {
@@ -710,9 +710,9 @@ static void mywrite_id_begin(WriteData *wd, ID *id)
BLI_assert(wd->validation_data.per_id_addresses_set.is_empty());
BLI_assert_msg(ID_IS_PACKED(id) || id->deep_hash.is_null(),
"The only IDs with non-null deephash data should be packed linked ones");
"The only IDs with non-null deep-hash data should be packed linked ones");
BLI_assert_msg((id->flag & ID_FLAG_EMBEDDED_DATA) == 0 || id->deep_hash.is_null(),
"Embedded IDs should always have a null deephash data");
"Embedded IDs should always have a null deep-hash data");
wd->stable_address_ids.next_id_hint = get_stable_pointer_hint_for_id(*id);

View File

@@ -123,7 +123,7 @@ void GLStorageBuf::bind(int slot)
void GLStorageBuf::bind_as(GLenum target)
{
BLI_assert_msg(ssbo_id_ != 0,
"Trying to use storage buf as indirect buffer but buffer was never filled.");
"Trying to use storage buffer as indirect buffer but buffer was never filled.");
glBindBuffer(target, ssbo_id_);
}

View File

@@ -559,7 +559,7 @@ const EnumPropertyItem rna_enum_file_path_foreach_flag_items[] = {
{BKE_BPATH_FOREACH_PATH_SKIP_MULTIFILE,
"SKIP_MULTIFILE",
0,
"Skip Multifile",
"Skip Multi-file",
"Skip paths where a single dir is used with an array of files, eg. sequence strip images or "
"point-caches. In this case only the first file path is processed. This is needed for "
"directory manipulation callbacks which might otherwise modify the same directory multiple "