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:
authorCampbell Barton <ideasman42@gmail.com>2008-01-19 19:32:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-19 19:32:29 +0300
commitd450dbec9177f2e691fddbefdab20adda18c7ae3 (patch)
treeef57d87a2714354da103960926c004edc1874942 /source/blender/python/api2_2x/Effect.c
parent7b6c88473c02d97485970390086395b515be653e (diff)
add the option to add the parents time offset value.
Diffstat (limited to 'source/blender/python/api2_2x/Effect.c')
-rw-r--r--source/blender/python/api2_2x/Effect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Effect.c b/source/blender/python/api2_2x/Effect.c
index 1dcc2279ee2..43c86ebe634 100644
--- a/source/blender/python/api2_2x/Effect.c
+++ b/source/blender/python/api2_2x/Effect.c
@@ -1,5 +1,5 @@
/*
- * $Id: Effect.c 11485 2007-08-05 09:21:29Z aligorith $
+ * $Id$
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -1330,7 +1330,7 @@ static PyObject *Effect_getParticlesLoc( BPy_Effect * self )
/* if object is in motion */
if( ob->ipoflag & OB_OFFS_PARTICLE )
- p_time= ob->sf;
+ p_time= give_timeoffset(ob);
else
p_time= 0.0;