diff options
author | Leon Zandman <lzandman> | 2021-06-22 20:42:32 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-06-22 20:54:50 +0300 |
commit | c317f111c16b014a02f6d8368aa6c8815a147d06 (patch) | |
tree | d02b873a8ff59fe5a69290e2cbd61cdd1788e82c /source/blender/makesdna | |
parent | 2fcd3f0296eff296c7a4fc2b7fc02b290ea985fd (diff) |
Cleanup: Spelling Mistakes
This patch fixes many minor spelling mistakes, all in comments or
console output. Mostly contractions like can't, won't, don't, its/it's,
etc.
Differential Revision: https://developer.blender.org/D11663
Reviewed by Harley Acheson
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_customdata_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_dynamicpaint_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/dna_genfile.c | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_customdata_types.h b/source/blender/makesdna/DNA_customdata_types.h index e3b5ecfac04..e5282409329 100644 --- a/source/blender/makesdna/DNA_customdata_types.h +++ b/source/blender/makesdna/DNA_customdata_types.h @@ -72,7 +72,7 @@ typedef struct CustomData { CustomDataLayer *layers; /** * runtime only! - maps types to indices of first layer of that type, - * MUST be >= CD_NUMTYPES, but we cant use a define here. + * MUST be >= CD_NUMTYPES, but we can't use a define here. * Correct size is ensured in CustomData_update_typemap assert(). */ int typemap[51]; diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index e3dcd283efa..5f3c54a0482 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -156,7 +156,7 @@ typedef struct DynamicPaintSurface { /* canvas flags */ enum { - /** surface is already baking, so it wont get updated (loop) */ + /** surface is already baking, so it won't get updated (loop) */ MOD_DPAINT_BAKING = 1 << 1, }; diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 3eb5920dfe6..2b9fcaf7603 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -276,7 +276,7 @@ enum { #define ME_USING_MIRROR_X_VERTEX_GROUPS(_me) \ (((_me)->editflag & ME_EDIT_MIRROR_VERTEX_GROUPS) && ((_me)->symmetry & ME_SYMMETRY_X)) -/* We cant have both flags enabled at once, +/* We can't have both flags enabled at once, * flags defined in DNA_scene_types.h */ #define ME_EDIT_PAINT_SEL_MODE(_me) \ (((_me)->editflag & ME_EDIT_PAINT_FACE_SEL) ? \ diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 05be31262a6..346e65f0fa1 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -130,7 +130,7 @@ typedef struct MLoop { /** * Optionally store the order of selected elements. - * This wont always be set since only some selection operations have an order. + * This won't always be set since only some selection operations have an order. * * Typically accessed from #Mesh.mselect */ diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 41350c128ae..3b35b527584 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -101,7 +101,7 @@ typedef struct RegionView3D { /** Viewport zoom on the camera frame, see BKE_screen_view3d_zoom_to_fac. */ float camzoom; /** - * Check if persp/ortho view, since 'persp' cant be used for this since + * Check if persp/ortho view, since 'persp' can't be used for this since * it can have cameras assigned as well. (only set in #view3d_winmatrix_set) */ char is_persp; diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c index a23c9087ffc..2a4bf53702f 100644 --- a/source/blender/makesdna/intern/dna_genfile.c +++ b/source/blender/makesdna/intern/dna_genfile.c @@ -855,7 +855,7 @@ static void cast_pointer_64_to_32(const int array_len, uint32_t *new_data) { /* WARNING: 32-bit Blender trying to load file saved by 64-bit Blender, - * pointers may lose uniqueness on truncation! (Hopefully this wont + * pointers may lose uniqueness on truncation! (Hopefully this won't * happen unless/until we ever get to multi-gigabyte .blend files...) */ for (int a = 0; a < array_len; a++) { new_data[a] = old_data[a] >> 3; diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 85bcc94c335..e6b4ae97355 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -361,7 +361,7 @@ static int add_type(const char *str, int size) } if (strchr(str, '*')) { /* note: this is valid C syntax but we can't parse, complain! - * `struct SomeStruct* some_var;` <-- correct but we cant handle right now. */ + * `struct SomeStruct* some_var;` <-- correct but we can't handle right now. */ return -1; } @@ -725,7 +725,7 @@ static int convert_include(const char *filename) const int strct = add_type(md1, 0); if (strct == -1) { - fprintf(stderr, "File '%s' contains struct we cant parse \"%s\"\n", filename, md1); + fprintf(stderr, "File '%s' contains struct we can't parse \"%s\"\n", filename, md1); return 1; } |