From a3b3b9d74ba258a6bbbafab989615fc21ec0037b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Feb 2019 19:10:34 +1100 Subject: DNA: comment on how to avoid DNA rename errors --- source/blender/makesdna/intern/dna_rename_defs.h | 7 +++++++ 1 file changed, 7 insertions(+) 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. */ -- cgit v1.2.3