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/blenkernel/BKE_animsys.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_animsys.h') diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index bdb39cd5982..f8a5d91bfa5 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -16,6 +16,9 @@ struct AnimData; /* Get AnimData from the given ID-block. */ struct AnimData *BKE_animdata_from_id(struct ID *id); +/* Add AnimData to the given ID-block */ +struct AnimData *BKE_id_add_animdata(struct ID *id); + /* ************************************* */ // TODO: overrides, remapping, and path-finding api's -- cgit v1.2.3