bugfix for crasher from Cedric Paille via bf-committers.

This commit is contained in:
Stephen Swaney 2008-05-26 15:12:20 +00:00
parent ae2a0bb273
commit a2298cb980

@ -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;