Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-05-04 12:18:47 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-05-04 12:18:47 +0400
commit549b3ccba1da9d5b106f7c4699c9cf63fb609662 (patch)
tree2673e981633de7a5df82ad8af28d9c203e0da4fe /source/blender/makesdna/intern
parenta899ce19d0a59278e793f303e9ee6056d189f151 (diff)
Throw an error and prevent compilation if there're unknown structures detected by DNA
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r--source/blender/makesdna/intern/makesdna.c2
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);