diff options
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 0321c1cad12..d638d20c6a5 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -71,16 +71,6 @@ typedef struct Path { /* These two Lines with # tell makesdna this struct can be excluded. */ # # -typedef struct BevList { - struct BevList *next, *prev; - int nr, dupe_nr; - int poly, hole; - int charidx; -} BevList; - -/* These two Lines with # tell makesdna this struct can be excluded. */ -# -# typedef struct BevPoint { float vec[3], alfa, radius, weight; float sina, cosa; /* 2D Only */ @@ -88,6 +78,19 @@ typedef struct BevPoint { short split_tag, dupe_tag; } BevPoint; +/* These two Lines with # tell makesdna this struct can be excluded. */ +# +# +typedef struct BevList { + struct BevList *next, *prev; + int nr, dupe_nr; + int poly, hole; + int charidx; + + /* over-alloc */ + BevPoint bevpoints[0]; +} BevList; + /** * Keyframes on F-Curves (allows code reuse of Bezier eval code) and * Points on Bezier Curves/Paths are generally BezTriples |