diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-19 19:32:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-19 19:32:29 +0300 |
commit | d450dbec9177f2e691fddbefdab20adda18c7ae3 (patch) | |
tree | ef57d87a2714354da103960926c004edc1874942 /source/blender/src/editobject.c | |
parent | 7b6c88473c02d97485970390086395b515be653e (diff) |
add the option to add the parents time offset value.
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r-- | source/blender/src/editobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index bbdcfc428dd..90b0e8c048e 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -1430,7 +1430,7 @@ void make_parent(void) add_constraint_to_object(con, base->object); - get_constraint_target_matrix(con, 0, CONSTRAINT_OBTYPE_OBJECT, NULL, cmat, G.scene->r.cfra - base->object->sf); + get_constraint_target_matrix(con, 0, CONSTRAINT_OBTYPE_OBJECT, NULL, cmat, G.scene->r.cfra - give_timeoffset(base->object)); VecSubf(vec, base->object->obmat[3], cmat[3]); base->object->loc[0] = vec[0]; |