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-01-17 08:36:58 +0300
committerJoshua Leung <aligorith@gmail.com>2009-01-17 08:36:58 +0300
commit023765eb48f277168ea4e937f153b3333361d534 (patch)
tree8e9774d694593fa6febbb8f43211f632f6e62d88 /source/blender/makesdna/DNA_key_types.h
parentee180ff5ac140f5f19d9a00eb2b914760b06dc77 (diff)
2.5 - AnimData fixes
* Made AnimData blocks be stored as pointer instead of directly in the ID-datablock, so that fewer files will need to be recompiled everytime some animation settings change. * Tried to fix some of the compiler errors that pop up in Yafray code. If this commit doesn't fix it, just disable Yafray code for now (WITH_BF_YAFRAY=0 for scons)...
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r--source/blender/makesdna/DNA_key_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h
index 4487c0c3247..c42e555d562 100644
--- a/source/blender/makesdna/DNA_key_types.h
+++ b/source/blender/makesdna/DNA_key_types.h
@@ -33,8 +33,8 @@
#include "DNA_listBase.h"
#include "DNA_ID.h"
-#include "DNA_anim_types.h"
+struct AnimData;
struct Ipo;
typedef struct KeyBlock {
@@ -57,7 +57,7 @@ typedef struct KeyBlock {
typedef struct Key {
ID id;
- struct AnimData adt; /* animation data (must be immediately after id for utilities to use it) */
+ struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
KeyBlock *refkey;
char elemstr[32];