diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 9c88c04caa7..3e79a688522 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -141,10 +141,7 @@ typedef struct Editing { /* ************* Effect Variable Structs ********* */ typedef struct WipeVars { float edgeWidth,angle; - short forward,spad1,spad2,spad3; - int ipad1; - float fpad1,fpad2; - short wipetype; + short forward, wipetype; } WipeVars; typedef struct GlowVars { diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index fab4f72a1ad..213ad3f9213 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -747,6 +747,12 @@ int calculate_structlens(void) dna_error = 1; } } + + if(len % 4) { + printf("Sizeerror in struct: %s\n", types[structtype]); + dna_error = 1; + } + } } }