Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-04-12 17:00:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-04-12 17:00:01 +0400
commit8355a713650822b2735621d2a7277d90353ad184 (patch)
tree47157696ef544958a0701f6a154354237fe161db /source/blender
parent6b02c7b12d0bfc712db61ab9ba9323ece65b9217 (diff)
Fix for bug #8932: crash converting old particle system.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
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);