diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-09-09 17:35:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-09-09 18:11:01 +0300 |
commit | ed4ef77f496e5da6bf20cfbc4165274c67b26822 (patch) | |
tree | 0acbe6552d46f72963eb5d1ad4c67ec91e295fb6 /source | |
parent | b4fd8750f96d42a53bbccf4952bab1b6f018d78f (diff) |
DNA: allow initializing defaults for deprecated struct members
This can be useful for better forward compatibility.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/intern/dna_defaults.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/dna_defaults.c b/source/blender/makesdna/intern/dna_defaults.c index a573e2f9e8c..3570f5a6a6f 100644 --- a/source/blender/makesdna/intern/dna_defaults.c +++ b/source/blender/makesdna/intern/dna_defaults.c @@ -68,6 +68,8 @@ * #BLO_update_defaults_startup_blend & #blo_do_versions_userdef. */ +#define DNA_DEPRECATED_ALLOW + #include <limits.h> #include <stdio.h> #include <stdlib.h> |