diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index cf833b3f1d4..a72aa2ddd83 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -795,7 +795,9 @@ void make_key_editipo(SpaceIpo *si) if(ei->icu) { ei->flag= ei->icu->flag; } - else if(a==0) ei->flag |= IPO_VISIBLE; + else if(a==0) + if(key && key->type==KEY_NORMAL) + ei->flag |= IPO_VISIBLE; } ei= si->editipo; 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 {