From 9ff9a5cdca5c834e05439699667f64524f957ccb Mon Sep 17 00:00:00 2001 From: Janne Karhu Date: Thu, 29 Nov 2007 21:09:16 +0000 Subject: 2nd try at committing to trunk (instead of particles branch) :) Fixes for bugs in #7833 - Hair softbody cache was reset on rendering. - When Alt-a playback is synced to audio frames are skipped. This caused dynamics caching to go crazy. Now the first loop of playback goes through all frames if there are non cached dynamic systems. Invalid point caches weren't cleared when new systems were created. This caused messed up shapes when softbody was added. --- source/blender/blenkernel/BKE_pointcache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_pointcache.h') diff --git a/source/blender/blenkernel/BKE_pointcache.h b/source/blender/blenkernel/BKE_pointcache.h index 46d240a4183..efd727d2141 100644 --- a/source/blender/blenkernel/BKE_pointcache.h +++ b/source/blender/blenkernel/BKE_pointcache.h @@ -44,5 +44,6 @@ int BKE_ptcache_id_filename(struct ID *id, char *filename, int cfra, int stack_index, short do_path, short do_ext); FILE * BKE_ptcache_id_fopen(struct ID *id, char mode, int cfra, int stack_index); void BKE_ptcache_id_clear(struct ID *id, char mode, int cfra, int stack_index); +int BKE_ptcache_id_exist(struct ID *id, int cfra, int stack_index); #endif -- cgit v1.2.3