diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-04 12:18:47 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-04 12:18:47 +0400 |
commit | 549b3ccba1da9d5b106f7c4699c9cf63fb609662 (patch) | |
tree | 2673e981633de7a5df82ad8af28d9c203e0da4fe /source/blender | |
parent | a899ce19d0a59278e793f303e9ee6056d189f151 (diff) |
Throw an error and prevent compilation if there're unknown structures detected by DNA
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index adcdf5df106..5ce5827fac3 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -874,6 +874,8 @@ static int calculate_structlens(int firststruct) printf(" %s\n", types[structtype]); } } + + dna_error = 1; } return(dna_error); |