Fix compile error on 32 bits linux / windows, wireframe modifier needs padding.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 23 Dec 2013 14:47:24 +0000 (15:47 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 23 Dec 2013 14:50:30 +0000 (15:50 +0100)
Thanks to Scott Petrovic and Jia Wang for submitting fixes.

Differential Revision: http://developer.blender.org/D126
Differential Revision: http://developer.blender.org/D130

source/blender/makesdna/DNA_modifier_types.h

index e9eab548c33625860e6b28fa9759d0f48f3ccd2e..b8849f333e7ae8e927167dd93c88a1eae503bd83 100644 (file)
@@ -1331,6 +1331,7 @@ typedef struct WireframeModifierData {
        float offset_fac_vg;
        float crease_weight;
        short flag, mat_ofs;
+       short pad[2];
 } WireframeModifierData;
 
 enum {