diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-06 04:03:05 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-06 04:03:05 +0300 |
commit | c0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (patch) | |
tree | 949a74300a638b2cd85f51edb8459d351ed17365 /source/blender | |
parent | 1d9bac7d921f87718e8a85c6ef7af2b27f07af2f (diff) |
Cleanup: Spelling/grammar in comments
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_key.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_index_range.hh | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_span.hh | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_vector_set.hh | 2 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_undo.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 2 | ||||
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_buffer.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_draw.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenkernel/BKE_key.h b/source/blender/blenkernel/BKE_key.h index de069d6236f..becf6bae5ca 100644 --- a/source/blender/blenkernel/BKE_key.h +++ b/source/blender/blenkernel/BKE_key.h @@ -113,7 +113,7 @@ struct KeyBlock *BKE_keyblock_find_name(struct Key *key, const char name[]); void BKE_keyblock_copy_settings(struct KeyBlock *kb_dst, const struct KeyBlock *kb_src); /** * Get RNA-Path for 'value' setting of the given shape-key. - * \note the user needs to free the returned string once they're finish with it. + * \note the user needs to free the returned string once they're finished with it. */ char *BKE_keyblock_curval_rnapath_get(struct Key *key, struct KeyBlock *kb); diff --git a/source/blender/blenlib/BLI_index_range.hh b/source/blender/blenlib/BLI_index_range.hh index 665f44468db..cc6040d49db 100644 --- a/source/blender/blenlib/BLI_index_range.hh +++ b/source/blender/blenlib/BLI_index_range.hh @@ -48,7 +48,7 @@ * Ideally this could be could be even closer to Python's enumerate(). We might get that in the * future with newer C++ versions. * - * One other important feature is the as_span method. This method returns an Span<int64_t> + * One other important feature is the as_span method. This method returns a Span<int64_t> * that contains the interval as individual numbers. */ diff --git a/source/blender/blenlib/BLI_span.hh b/source/blender/blenlib/BLI_span.hh index 995dc70a84d..5e69e28dbb1 100644 --- a/source/blender/blenlib/BLI_span.hh +++ b/source/blender/blenlib/BLI_span.hh @@ -62,7 +62,7 @@ * then the function has to specify whether the referenced array is expected to be initialized or * not. * - * Since the arrays are only referenced, it is generally unsafe to store an Span. When you + * Since the arrays are only referenced, it is generally unsafe to store a Span. When you * store one, you should know who owns the memory. * * Instances of Span and MutableSpan are small and should be passed by value. diff --git a/source/blender/blenlib/BLI_vector_set.hh b/source/blender/blenlib/BLI_vector_set.hh index 567e4fd8128..cc9cb585a1c 100644 --- a/source/blender/blenlib/BLI_vector_set.hh +++ b/source/blender/blenlib/BLI_vector_set.hh @@ -263,7 +263,7 @@ class VectorSet { } /** - * Get an Span referencing the keys vector. The referenced memory buffer is only valid as + * Get a Span referencing the keys vector. The referenced memory buffer is only valid as * long as the vector set is not changed. * * The keys must not be changed, because this would change their hash value. diff --git a/source/blender/editors/mesh/editmesh_undo.c b/source/blender/editors/mesh/editmesh_undo.c index f22d4bbe580..46a056f865b 100644 --- a/source/blender/editors/mesh/editmesh_undo.c +++ b/source/blender/editors/mesh/editmesh_undo.c @@ -104,7 +104,7 @@ typedef struct UndoMesh { int selectmode; /** \note - * this isn't a prefect solution, if you edit keys and change shapes this works well + * This isn't a perfect solution, if you edit keys and change shapes this works well * (fixing T32442), but editing shape keys, going into object mode, removing or changing their * order, then go back into editmode and undo will give issues - where the old index will be * out of sync with the new object index. diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index c43b80204cf..b92123f445b 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -1445,7 +1445,7 @@ static void rna_def_ID_properties(BlenderRNA *brna) RNA_def_struct_refine_func(srna, "rna_PropertyGroup_refine"); /* important so python types can have their name used in list views - * however this isn't prefect because it overrides how python would set the name + * however this isn't perfect because it overrides how python would set the name * when we only really want this so RNA_def_struct_name_property() is set to something useful */ prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE); RNA_def_property_flag(prop, PROP_IDPROPERTY); diff --git a/source/blender/python/gpu/gpu_py_vertex_buffer.c b/source/blender/python/gpu/gpu_py_vertex_buffer.c index 949086378a8..bb762f9fe33 100644 --- a/source/blender/python/gpu/gpu_py_vertex_buffer.c +++ b/source/blender/python/gpu/gpu_py_vertex_buffer.c @@ -99,7 +99,7 @@ static void pygpu_fill_format_sequence(void *data_dst_void, PyObject **value_fast_items = PySequence_Fast_ITEMS(py_seq_fast); /** - * Args are constants, so range checks will be optimized out if they're nop's. + * Args are constants, so range checks will be optimized out if they're no-op's. */ #define PY_AS_NATIVE(ty_dst, py_as_native) \ ty_dst *data_dst = data_dst_void; \ diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index ab9de6ce4d4..9dfac54a91e 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -1140,7 +1140,7 @@ void WM_redraw_windows(bContext *C) * This is needed for viewport drawing for operator use * (where the viewport may not have drawn yet). * - * Otherwise avoid using these sine they're exposing low level logic externally. + * Otherwise avoid using these since they're exposing low level logic externally. * * \{ */ |