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:
authorTon Roosendaal <ton@blender.org>2008-10-14 16:16:12 +0400
committerTon Roosendaal <ton@blender.org>2008-10-14 16:16:12 +0400
commit6773d41daaa5c0a1ce3703c95c18cbca6f42071f (patch)
treecaf30964f6ae5b157337a92567de334d6cc285d5
parente1aff849e49b350e323310839a94f6cf3e48321c (diff)
Bugfix #17832
Particle system crashed in convertblender, missing NULL check. This fixes crash, render survives, but I doubt it was meant so... Will leave it Janne to evaluate later.
-rw-r--r--source/blender/render/intern/source/convertblender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c
index 2d229cb3387..ae955a63f98 100644
--- a/source/blender/render/intern/source/convertblender.c
+++ b/source/blender/render/intern/source/convertblender.c
@@ -1868,7 +1868,7 @@ static int render_new_particle_system(Render *re, ObjectRen *obr, ParticleSystem
dosimplify= psys_render_simplify_params(psys, cpa, simplify);
- if(path_nbr) {
+ if(path_nbr && psys->childcache) {
cache = psys->childcache[a-totpart];
max_k = (int)cache->steps;
}