Cleanup: Fix typos in source/blender/blenlib

Fixes some user-facing and non-user-facing typos. Found via codespell.

Pull Request: https://projects.blender.org/blender/blender/pulls/146111
This commit is contained in:
luz paz
2025-09-24 15:37:57 +02:00
committed by Bastien Montagne
parent 039549900b
commit 279e20a9f2
3 changed files with 3 additions and 3 deletions

View File

@@ -1808,7 +1808,7 @@ extern template float4x4 perspective(
/**
* Transform normal vectors, maintaining their unit length status, but implementing some
* optimizations for identity matrics and uniform scaling.
* optimizations for identity matrix and uniform scaling.
*/
void transform_normals(const float3x3 &transform, MutableSpan<float3> normals);
void transform_normals(Span<float3> src, const float3x3 &transform, MutableSpan<float3> dst);

View File

@@ -56,7 +56,7 @@ class BlenderSubprocess : NonCopyable {
/**
* Create a subprocess and pass the arguments to the main function.
* NOTE: The subprocess path is not passed as `argv[0]`.
* `args` only support alpha-numeric characters, underscores and hyphen-minus as a safety
* `args` only support alphanumeric characters, underscores and hyphen-minus as a safety
* measure.
* WARNING: This function shouldn't be called again after it succeeds.
*/

View File

@@ -29,7 +29,7 @@ OffsetIndices<int> accumulate_counts_to_offsets(MutableSpan<int> counts_to_offse
}
counts_to_offsets.last() = offset;
BLI_assert_msg(offset == offset_i64, "Integer overflow occured");
BLI_assert_msg(offset == offset_i64, "Integer overflow occurred");
UNUSED_VARS_NDEBUG(offset_i64);
return OffsetIndices<int>(counts_to_offsets);