bugfix for crasher from Cedric Paille via bf-committers.
authorStephen Swaney <sswaney@centurytel.net>
Mon, 26 May 2008 15:12:20 +0000 (15:12 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Mon, 26 May 2008 15:12:20 +0000 (15:12 +0000)
source/blender/python/api2_2x/Particle.c

index 15307cc2be580c770cd94a6e04059f9af3729ad4..f0a32db0623e446b02b435ed109bd09123945a78 100644 (file)
@@ -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;