diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-07-25 15:57:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-07-25 15:57:36 +0400 |
commit | cc0f3146e798479be0758b5c152ef67ef42ea8dc (patch) | |
tree | 669704799ec2a83908777d1b0d9cc1517dfb871c /source/blender/makesdna/DNA_curve_types.h | |
parent | 61a09d96b1c10decb732f77a50421101e43cf401 (diff) |
Shapekeys for curves/surfeces
Fix #21498: Edit curve Shape key /252_r 27318
Added full support of shape keys for curves and nurbs surfaces including
topology changing in edit mode, undo stuff, updating relative keys when
working under basis and so on.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 609c3a87dab..c13cb08badd 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -48,6 +48,7 @@ struct VFont; struct AnimData; struct SelBox; struct EditFont; +struct GHash; /* These two Lines with # tell makesdna this struct can be excluded. */ # @@ -150,6 +151,14 @@ typedef struct TextBox { float x, y, w, h; } TextBox; +typedef struct EditNurb { + /* base of nurbs' list (old Curve->editnurb) */ + ListBase nurbs; + + /* index data for shape keys */ + struct GHash *keyindex; +} EditNurb; + typedef struct Curve { ID id; struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ @@ -159,7 +168,7 @@ typedef struct Curve { ListBase nurb; /* actual data, called splines in rna */ ListBase disp; - ListBase *editnurb; /* edited data, not in file, use pointer so we can check for it */ + EditNurb *editnurb; /* edited data, not in file, use pointer so we can check for it */ struct Object *bevobj, *taperobj, *textoncurve; struct Ipo *ipo; // XXX depreceated... old animation system |