From 023765eb48f277168ea4e937f153b3333361d534 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 17 Jan 2009 05:36:58 +0000 Subject: 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)... --- source/blender/makesdna/DNA_key_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesdna/DNA_key_types.h') 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]; -- cgit v1.2.3