diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-12 17:00:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-12 17:00:01 +0400 |
commit | 8355a713650822b2735621d2a7277d90353ad184 (patch) | |
tree | 47157696ef544958a0701f6a154354237fe161db /source/blender/blenloader | |
parent | 6b02c7b12d0bfc712db61ab9ba9323ece65b9217 (diff) |
Fix for bug #8932: crash converting old particle system.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 7fe023c782d..d7bdb2e5b93 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -7367,6 +7367,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) /* create new particle system */ psys = MEM_callocN(sizeof(ParticleSystem), "particle_system"); + psys->pointcache = BKE_ptcache_add(); part = psys->part = psys_new_settings("PSys", main); |