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/drawaction.c | |
parent | 7b6c88473c02d97485970390086395b515be653e (diff) |
add the option to add the parents time offset value.
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r-- | source/blender/src/drawaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 2b280864f1c..42b0b0bda3b 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -374,8 +374,8 @@ void draw_cfra_action (void) /* Draw dark green line if slow-parenting/time-offset is enabled */ ob= (G.scene->basact) ? (G.scene->basact->object) : 0; - if ((ob) && (ob->sf!=0.0) && (ob->ipoflag & OB_OFFS_OB)) { - vec[0]-= ob->sf; + if ((ob) && (ob->ipoflag & OB_OFFS_OB) && (give_timeoffset(ob)!=0.0)) { + vec[0]-= give_timeoffset(ob); /* could avoid calling twice */ BIF_ThemeColorShade(TH_CFRAME, -30); |