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/src/drawipo.c
parent7b6c88473c02d97485970390086395b515be653e (diff)
add the option to add the parents time offset value.
Diffstat (limited to 'source/blender/src/drawipo.c')
-rw-r--r--source/blender/src/drawipo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c
index 07442a541a5..d5040bf0a51 100644
--- a/source/blender/src/drawipo.c
+++ b/source/blender/src/drawipo.c
@@ -1571,8 +1571,8 @@ static void draw_cfra(SpaceIpo *sipo)
if(sipo->blocktype==ID_OB) {
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);
BIF_ThemeColorShade(TH_HILITE, -30);