diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-12-13 09:31:49 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-12-13 09:31:49 +0300 |
commit | 1474b32456f26ead36b50d787d99f9b1769b27e8 (patch) | |
tree | a3726096ee36713a817df8492c97bda6ba4899d2 /source/blender/makesdna/DNA_lattice_types.h | |
parent | dec478957114ddaed1512a47a590ff7fa52ade70 (diff) |
Lattices now have AnimData
This allows manual (point by point) animation of their control verts,
although many other settings cannot really be animated with any
visible effects yet. Interestingly, lattices also had IPO block
pointers, though they were never really used (AFAIK).
Todo:
- Animation Editor support has yet to be added. I've got a few other
things to add to, so will group those changes together.
Diffstat (limited to 'source/blender/makesdna/DNA_lattice_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lattice_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h index 3d05acfbe0d..253846dfae5 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -31,6 +31,7 @@ #include "DNA_ID.h" +struct AnimData; struct BPoint; struct Ipo; struct Key; @@ -46,6 +47,7 @@ typedef struct EditLatt { typedef struct Lattice { ID id; + struct AnimData *adt; short pntsu, pntsv, pntsw, flag; short opntsu, opntsv, opntsw, pad2; @@ -56,7 +58,7 @@ typedef struct Lattice { struct BPoint *def; - struct Ipo *ipo; + struct Ipo *ipo; /* XXX: depreceated... old animation system */ struct Key *key; struct MDeformVert *dvert; |