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:
-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 213ad3f9213..eec499862b7 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -719,9 +719,11 @@ int calculate_structlens(void)
/* 2-4 aligned/ */
if(typelens[type]>3 && (len % 4) ) {
printf("Align 4 error in struct: %s %s\n", types[structtype], cp);
+ dna_error = 1;
}
else if(typelens[type]==2 && (len % 2) ) {
printf("Align 2 error in struct: %s %s\n", types[structtype], cp);
+ dna_error = 1;
}
len += mul*typelens[type];