Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-12-28 03:52:31 +0300
committerJoshua Leung <aligorith@gmail.com>2009-12-28 03:52:31 +0300
commitbe55097353069b56a2726ebfe87bb2dd0a4b46a6 (patch)
tree1b0caa1ad22c6a3a79b71a419379ec6cd451b95d /source/blender/makesdna/DNA_mesh_types.h
parentff31d2d65cd6ab8bff2dc45939a8e7a2dab57c86 (diff)
Mesh Animation + Depsgraph Tweaks:
* Mesh data/settings can now be animated. It is not recommended that geometry be animated directly, but other settings such as autosmooth, etc. can be... * Code cleanups for depsgraph, making sure that drivers get included for all object data types.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index d12d81bb9f7..fae89284e32 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -47,15 +47,17 @@ struct OcInfo;
struct Multires;
struct PartialVisibility;
struct EditMesh;
+struct AnimData;
typedef struct Mesh {
ID id;
+ struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
struct BoundBox *bb;
ListBase effect;
- struct Ipo *ipo;
+ struct Ipo *ipo; // XXX depreceated... old animation system
struct Key *key;
struct Material **mat;
@@ -133,6 +135,7 @@ typedef struct TFace {
#define ME_SMESH 64
#define ME_SUBSURF 128
#define ME_OPT_EDGES 256
+#define ME_DS_EXPAND 512
/* me->drawflag, int */
#define ME_DRAWEDGES (1 << 0)