Depsgraph support for animated duplicated groups that come from Library
files.... so nice, a huge walking group of characters in a 90k file or so!
This commit is contained in:
2005-12-06 17:05:37 +00:00
parent 6555ddbcd8
commit ee63a6fd79
4 changed files with 301 additions and 250 deletions

View File

@@ -316,18 +316,6 @@ static void particle_tex(MTex *mtex, PartEff *paf, float *co, float *no)
/* -------------------------- Effectors ------------------ */
typedef struct pEffectorCache {
struct pEffectorCache *next, *prev;
struct Object *ob;
/* precalculated variables */
float oldloc[3], oldspeed[3];
float scale, time_scale;
float guide_dist;
Object obcopy; /* for restoring transformation data */
} pEffectorCache;
static void add_to_effectorcache(ListBase *lb, Object *ob, Object *obsrc)
{
pEffectorCache *ec;