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

@@ -425,7 +425,7 @@ def main():
# deleting or not?
if '--dna-keep-blend' in sys.argv:
# keep the blend, useful for studying hexdumps
# Keep the blend, useful for studying HEX-dumps.
log.info("5: closing blend file:")
log.info(" {0}".format(Path_Blend))
else:

View File

@@ -150,7 +150,7 @@ if(WIN32 AND MSVC AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# such as in `svm.h`.
# This flag is supported starting with MSVC 17.7 preview 3:
# https://learn.microsoft.com/en-us/cpp/build/reference/jump-table-rdata
# This is an x64 specific optimisation.
# This is an x64 specific optimization.
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.37.32820
AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
string(APPEND CMAKE_CXX_FLAGS " /jumptablerdata")

View File

@@ -87,7 +87,7 @@ MetalDevice::MetalDevice(const DeviceInfo &info, Stats &stats, Profiler &profile
mtlDevice = usable_devices[mtlDevId];
metal_printf("Creating new Cycles Metal device: %s", info.description.c_str());
/* Ensure that back-compatability helpers for getting gpuAddress & gpuResourceID are set up. */
/* Ensure that back-compatibility helpers for getting gpuAddress & gpuResourceID are set up. */
metal_gpu_address_helper_init(mtlDevice);
/* Enable increased concurrent shader compiler limit.

View File

@@ -121,7 +121,7 @@ class ConditionalDownloader:
is renamed to the given path, overwriting any pre-existing file.
Raises a HTTPRequestDownloadError for specific HTTP errors. Can also
raise other exceptions, for example when filesystem access fails. On any
raise other exceptions, for example when file-system access fails. On any
exception, the `download_error()` function will be called on the
reporter.
"""
@@ -1318,10 +1318,10 @@ def _cleanup_main_file_attribute() -> Generator[None]:
See the `get_preparation_data(name)` function in Python's stdlib:
https://github.com/python/cpython/blob/180b3eb697bf5bb0088f3f35ef2d3675f9fff04f/Lib/multiprocessing/spawn.py#L197
This issue can be recognised by a failure to start a background process,
This issue can be recognized by a failure to start a background process,
with an error like:
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/blender/<blender string>'
``FileNotFoundError: [Errno 2] No such file or directory: '/path/to/blender/<blender string>'``
"""

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 "

View File

@@ -158,6 +158,7 @@ dict_custom = {
"discretizes",
"distributable",
"downcasting",
"downloader",
"downsample",
"downsampled",
"downsampler",
@@ -308,6 +309,7 @@ dict_custom = {
"prepend",
"prepending",
"preprocess",
"preprocesses",
"preprocessing",
"preprocessor",
"preprocessors",