diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-17 11:10:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-18 00:22:11 +0300 |
commit | a3b3b9d74ba258a6bbbafab989615fc21ec0037b (patch) | |
tree | a6376ab3e786ad6b33afaac3ff18f510b900933f /source | |
parent | 5657d68a03a794bcf1ac452a8a4b95c0352accb8 (diff) |
DNA: comment on how to avoid DNA rename errors
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/intern/dna_rename_defs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h index 0b21fb8420b..63a6da32ae6 100644 --- a/source/blender/makesdna/intern/dna_rename_defs.h +++ b/source/blender/makesdna/intern/dna_rename_defs.h @@ -36,6 +36,13 @@ * - Old names aren't sanity checked (since this file is the only place that knows about them) * typos in the old names will break both backwards & forwards compatibility **TAKE CARE**. * + * - Before editing rename defines run: + * + * `sha1sum $BUILD_DIR/source/blender/makesdna/intern/dna.c` + * + * Compare the results before & after to ensure all changes are reversed by renaming + * and the DNA remains unchanged. + * * \see versioning_dna.c for a actual version patching. */ |