diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-30 01:04:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-30 02:15:17 +0300 |
commit | 4e45265dc6cafe0bf6f36a14a469288183059858 (patch) | |
tree | 899ea04187908aafbcc590fd026b33d2d3b021c1 /source/blender/makesdna | |
parent | 262ef26ea3fe457ff077224662eaecc1b912aed1 (diff) |
Cleanup: spelling in comments & strings
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_effect_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_outliner_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_pointcache_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h index 3de13169616..2e086a2834c 100644 --- a/source/blender/makesdna/DNA_effect_types.h +++ b/source/blender/makesdna/DNA_effect_types.h @@ -27,7 +27,7 @@ extern "C" { #endif -/* Don't forget, new effects also in writefile.c for DNA! */ +/* Don't forget, new effects also in `writefile.c` for DNA! */ #define PAF_MAXMULT 4 diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index ebf3d4a248c..a50d0524998 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -41,13 +41,13 @@ typedef struct TreeStoreElem { /** Used only to store data in blend files. */ typedef struct TreeStore { - /** Was previously used for memory preallocation. */ + /** Was previously used for memory pre-allocation. */ int totelem DNA_DEPRECATED; /** Number of elements in data array. */ int usedelem; /** - * Elements to be packed from mempool in writefile.c - * or extracted to mempool in readfile.c + * Elements to be packed from mempool in `writefile.c` + * or extracted to mempool in `readfile.c`. */ TreeStoreElem *data; } TreeStore; diff --git a/source/blender/makesdna/DNA_pointcache_types.h b/source/blender/makesdna/DNA_pointcache_types.h index 7de0bb29c46..2b6e1c4f7de 100644 --- a/source/blender/makesdna/DNA_pointcache_types.h +++ b/source/blender/makesdna/DNA_pointcache_types.h @@ -131,8 +131,8 @@ typedef struct PointCache { void (*free_edit)(struct PTCacheEdit *edit); } PointCache; +/** #PointCache.flag */ enum { - /* pointcache->flag */ PTCACHE_BAKED = 1 << 0, PTCACHE_OUTDATED = 1 << 1, PTCACHE_SIMULATION_VALID = 1 << 2, diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 88c5ace9cb3..b4d373a5868 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -281,7 +281,7 @@ typedef struct SpaceOutliner { * Note that treestore may contain duplicate elements if element * is used multiple times in outliner tree (e. g. linked objects) * Also note that BLI_mempool can not be read/written in DNA directly, - * therefore readfile.c/writefile.c linearize treestore into TreeStore structure + * therefore `readfile.c/writefile.c` linearize treestore into TreeStore structure */ struct BLI_mempool *treestore; |