diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-09-02 14:26:19 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-09-02 14:26:19 +0400 |
commit | f611fa80afc7356fee32a190c426a3f3b2e5f4c8 (patch) | |
tree | 7e86e7ba550df46d7265f302c8f8cf722c996671 /source/blender/blenkernel/BKE_particle.h | |
parent | 2e61c4be9b7d6ec49ac1cb4d1cf4716581fdc969 (diff) |
Fix for [#23298] Kill particle breaks when baking simulation
* Cached particle die times are now read from cached data
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index f357e77f84e..1416e1280cf 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -283,6 +283,8 @@ void psys_mat_hair_to_object(struct Object *ob, struct DerivedMesh *dm, short fr void psys_mat_hair_to_global(struct Object *ob, struct DerivedMesh *dm, short from, struct ParticleData *pa, float hairmat[][4]); void psys_mat_hair_to_orco(struct Object *ob, struct DerivedMesh *dm, short from, struct ParticleData *pa, float hairmat[][4]); +float psys_get_dietime_from_cache(struct PointCache *cache, int index); + void psys_free_pdd(struct ParticleSystem *psys); float *psys_cache_vgroup(struct DerivedMesh *dm, struct ParticleSystem *psys, int vgroup); |