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:
authorCampbell Barton <ideasman42@gmail.com>2007-10-22 15:50:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-10-22 15:50:05 +0400
commit2dcc81071b47936bce2c888ae54bdd78abffab13 (patch)
tree18911eed9645c6fbaadda1fc044e8c7412f344a8 /source/blender
parente0668e9d2235b6b5ff837102c767d49c4b105fc9 (diff)
dna error was not being set, allowing build to finish with DNA
allignment errors.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesdna/intern/makesdna.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 4d437861751..af41380d5f8 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -714,8 +714,10 @@ static int calculate_structlens(int firststruct)
/* struct alignment */
if(type >= firststruct) {
- if(sizeof(void *)==8 && (len % 8) )
+ if(sizeof(void *)==8 && (len % 8) ) {
printf("Align struct error: %s %s\n", types[structtype],cp);
+ dna_error = 1;
+ }
}
/* 2-4 aligned/ */