[Bf-blender-cvs] [661ba642f2d] master: Cleanup: spelling
Campbell Barton
noreply at git.blender.org
Fri Aug 21 16:11:28 CEST 2020
Commit: 661ba642f2d23c18852c2a206c68af2c3665ebba
Author: Campbell Barton
Date: Sat Aug 22 00:09:17 2020 +1000
Branches: master
https://developer.blender.org/rB661ba642f2d23c18852c2a206c68af2c3665ebba
Cleanup: spelling
===================================================================
M source/blender/blenkernel/intern/idprop.c
M source/blender/editors/animation/anim_filter.c
M source/blender/gpu/intern/gpu_shader_interface.hh
M source/blender/gpu/intern/gpu_uniform_buffer.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index 5469d8a4c36..56d80d7d40b 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -1335,11 +1335,11 @@ static void IDP_DirectLinkProperty(IDProperty *prop, BlendDataReader *reader)
break;
case IDP_DOUBLE:
/* Workaround for doubles.
- * They are stored in the same field as `int val, val2` in the IDPropertyData struct,
+ * They are stored in the same field as `int val, val2` in the #IDPropertyData struct,
* they have to deal with endianness specifically.
*
* In theory, val and val2 would've already been swapped
- * if switch_endian is true, so we have to first unswap
+ * if switch_endian is true, so we have to first un-swap
* them then re-swap them as a single 64-bit entity. */
if (BLO_read_requires_endian_switch(reader)) {
BLI_endian_switch_int32(&prop->data.val);
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index 8280b58c21a..ddd389a5348 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -1555,7 +1555,7 @@ static size_t animfilter_nla(bAnimContext *UNUSED(ac),
next = nlt->next;
}
- /* if we're in NLA-tweakmode, don't show this track if it was disabled
+ /* If we're in NLA-tweak-mode, don't show this track if it was disabled
* (due to tweaking) for now:
* - active track should still get shown though (even though it has disabled flag set)
*/
diff --git a/source/blender/gpu/intern/gpu_shader_interface.hh b/source/blender/gpu/intern/gpu_shader_interface.hh
index b40a3abd3e0..6e1cb342c68 100644
--- a/source/blender/gpu/intern/gpu_shader_interface.hh
+++ b/source/blender/gpu/intern/gpu_shader_interface.hh
@@ -22,7 +22,7 @@
*
* GPU shader interface (C --> GLSL)
*
- * Structure detailling needed vertex inputs and resources for a specific shader.
+ * Structure detailing needed vertex inputs and resources for a specific shader.
* A shader interface can be shared between two similar shaders.
*/
diff --git a/source/blender/gpu/intern/gpu_uniform_buffer.cc b/source/blender/gpu/intern/gpu_uniform_buffer.cc
index 905d7a4adb3..94aa6bd76ab 100644
--- a/source/blender/gpu/intern/gpu_uniform_buffer.cc
+++ b/source/blender/gpu/intern/gpu_uniform_buffer.cc
@@ -101,7 +101,7 @@ static int inputs_cmp(const void *a, const void *b)
*/
static void buffer_from_list_inputs_sort(ListBase *inputs)
{
-/* Only support up to this type, if you want to extend it, make sure tstatic void
+/* Only support up to this type, if you want to extend it, make sure static void
* inputs_sobuffer_size_compute *inputs) padding logic is correct for the new types. */
#define MAX_UBO_GPU_TYPE GPU_MAT4
More information about the Bf-blender-cvs
mailing list