From 3a1da2219d45c586db87d17395da370a63a37408 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Wed, 12 Aug 2009 12:15:45 +0000 Subject: [PATCH] Reverting "fix" - didnt fix crash at all. jahka: please take a look at this, several people in #blendercoders now reporting crashes on startup. --- source/blender/blenkernel/intern/pointcache.c | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index 649c26242ce..7aa01de71d0 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -443,21 +443,18 @@ void BKE_ptcache_id_from_particles(PTCacheID *pid, Object *ob, ParticleSystem *p pid->data_types= (1<part) - { - /* TODO for later */ - //if((psys->part->flag & (PART_UNBORN|PART_DIED))==0) - // pid->data_types|= (1<part->flag & (PART_UNBORN|PART_DIED))==0) + // pid->data_types|= (1<part->phystype == PART_PHYS_BOIDS) - pid->data_types|= (1<part->phystype == PART_PHYS_BOIDS) + pid->data_types|= (1<part->rotmode || psys->part->avemode) - pid->data_types|= (1<part->rotmode || psys->part->avemode) + pid->data_types|= (1<part->flag & PART_ROT_DYN) - pid->data_types|= (1<part->flag & PART_ROT_DYN) + pid->data_types|= (1<info_types= (1<