From a2298cb980cc9f5294375cf9b14d68054d5e4ad5 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Mon, 26 May 2008 15:12:20 +0000 Subject: [PATCH] bugfix for crasher from Cedric Paille via bf-committers. --- source/blender/python/api2_2x/Particle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Particle.c b/source/blender/python/api2_2x/Particle.c index 15307cc2be5..f0a32db0623 100644 --- a/source/blender/python/api2_2x/Particle.c +++ b/source/blender/python/api2_2x/Particle.c @@ -828,7 +828,7 @@ static PyObject *Part_GetLoc( BPy_PartSys * self, PyObject * args ){ /* little hack to calculate hair steps in render mode */ psys->renderdata = (void*)(int)1; - psys_cache_paths(ob, psys, cfra, 0); + psys_cache_paths(ob, psys, cfra, 1); psys->renderdata = NULL;