diff options
author | Ton Roosendaal <ton@blender.org> | 2005-09-26 20:13:00 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-09-26 20:13:00 +0400 |
commit | 18957ff5a87a24bcb55cddfd1243e9e4c4010304 (patch) | |
tree | cd703fe6cab11ac46d458cac963ed3525012c964 /source/blender/src/editkey.c | |
parent | c7f2c2c6129b085534b9e870725305aedbe13e5c (diff) |
Two more 'shape' fixes;
- adding new Shape didn't set correct Ipocurve code... so you could not
even add new curves
- the keylines (first channel) always came back in display... ancient error
Diffstat (limited to 'source/blender/src/editkey.c')
-rw-r--r-- | source/blender/src/editkey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c index 232080ba884..345c48d789f 100644 --- a/source/blender/src/editkey.c +++ b/source/blender/src/editkey.c @@ -198,6 +198,7 @@ static void rvk_slider_func(void *voidkey, void *voidkeynum) allqueue (REDRAWACTION, 0); allqueue (REDRAWNLA, 0); allqueue (REDRAWIPO, 0); + allspace(REMAKEIPO, 0); } @@ -349,10 +350,12 @@ static KeyBlock *add_keyblock(Key *key) tot= BLI_countlist(&key->block); if(tot==1) strcpy(kb->name, "Basis"); else sprintf(kb->name, "Key %d", tot-1); + kb->adrcode= tot-1; key->totkey++; if(key->totkey==1) key->refkey= kb; + if(key->type == KEY_RELATIVE) kb->pos= curpos+0.1; else { |