fix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).
[blender.git] / source / blender / makesdna / DNA_curve_types.h
index 505796608062921e46fbd5ff0aa2c659e0872c83..ba357b575d5aa2ccfa9f875721ab1e41308e92c2 100644 (file)
@@ -189,11 +189,11 @@ typedef struct Curve {
        float rot[3];
 
        short texflag, pad1; /* keep a short because of give_obdata_texspace() */
-
-       short drawflag, twist_mode,  pad[2];
+       short drawflag, twist_mode;
        float twist_smooth, smallcaps_scale;
 
-       short pathlen, totcol;
+       int pathlen;
+       short pad, totcol;
        short flag, bevresol;
        float width, ext1, ext2;